/* help.css */

.help-hero {
    background-color: #f8f9fa;
    padding: 4rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #dadce0;
}

.help-container {
    max-width: 720px;
    margin: 0 auto;
}

.help-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 2.25rem;
    color: #202124;
    margin-bottom: 2rem;
    font-weight: 400;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1.1rem;
    border: 1px solid #dadce0;
    /* Default border */
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
    font-family: inherit;
    color: #3c4043;
    /* Input text color */
}

/* Ensure placeholder text is distinct if needed, usually browser default is fine but can be styled */
.search-input::placeholder {
    color: #5f6368;
}

.search-input:focus {
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px rgba(60, 64, 67, 0.15);
    border-color: transparent;
    /* Google style often removes border on focus if shadow is strong */
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    fill: #5f6368;
    pointer-events: none;
}

.help-content {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.help-card {
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.help-card:hover {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    border-color: transparent;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.card-icon.blue {
    background: #E8F0FE;
    color: #1967D2;
}

.card-icon.green {
    background: #E6F4EA;
    color: #137333;
}

.card-icon.red {
    background: #FCE8E6;
    color: #C5221F;
}

.help-card h3 {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.25rem;
    color: #202124;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.help-card p {
    color: #5f6368;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.card-link:hover {
    text-decoration: underline;
}

.section-heading {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.5rem;
    color: #202124;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* FAQ Redesign - Matching PAPL Style */
.faq-section {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #4285f4; /* Google Blue for Help Center */
}

.faq-item.active {
    box-shadow: 0 10px 40px rgba(66, 133, 244, 0.1);
    border-color: #4285f4;
    background: #fcfcfc;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #202124;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #5f6368;
    transition: transform 0.3s ease, color 0.3s;    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #4285f4;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: #5f6368;
    line-height: 1.6;
    margin: 0;
}

.contact-support {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-support p {
    font-size: 1.1rem;
    color: #202124;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-btn {
    display: inline-block;
    background: #1a73e8;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.contact-btn:hover {
    background: #174ea6;
}