/* Support & Help Pages */
.support-hero {
    background-color: var(--secondary-color);
    padding: 80px 0;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.support-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.support-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.support-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    text-align: center;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.support-card h3 {
    margin-bottom: 15px;
    color: var(--heading-color);
}

.support-card p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.policy-table th {
    background: var(--secondary-color);
    color: white;
    padding: 15px 20px;
    text-align: left;
}

.policy-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: var(--text-color);
}

.policy-table tr:last-child td {
    border-bottom: none;
}

.safety-tip {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.safety-tip i {
    font-size: 2rem;
    color: var(--primary-color);
}

.safety-tip h4 {
    margin-bottom: 5px;
    color: var(--heading-color);
}

.safety-tip p {
    margin-bottom: 0;
    color: var(--text-color);
}

/* CSS Variables for Consistency */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #7f8c8d;
    --heading-color: #2c3e50;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hero-padding: 100px 0;
    --section-margin: 80px;
    --primary-light-bg: #e8f4fc;
    --text-muted: #bdc3c7;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --danger-color: #e74c3c;
    --border-color: #eaeaea;
    --success-light-bg: #e8f5e9;
    --warning-light-bg: #fff3e0;
    --danger-light-bg: #ffebee;
}

/* Header User Welcome */
.user-welcome-item {
    display: inline-flex !important;
    align-items: center;
    gap: 15px;
    margin-left: 40px !important; /* Increased spacing to push to right */
    padding-left: 20px;
    border-left: 1px solid #eee;
}

.welcome-msg {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.welcome-msg:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.sign-out-small {
    font-size: 0.75rem !important;
    color: var(--text-color) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.sign-out-small:hover {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: white !important;
    text-decoration: none !important;
}

/* Registration Styles */
.registration-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
    margin: 40px auto;
}

.registration-sidebar {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.registration-sidebar h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: white;
}

.registration-sidebar p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 1.05rem;
    color: white;
}

.benefits-list {
    list-style: none;
    margin-top: 30px;
}

.benefits-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.2rem;
    color: white;
}

.benefit-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.benefit-text p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
    color: white;
}

.registration-form {
    flex: 0 0 60%;
    padding: 50px 40px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-header p {
    color: #7f8c8d;
    font-size: 1rem;
    color: #7f8c8d;
}

.form-header a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #3498db;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-group .label-optional {
    color: #7f8c8d;
    font-weight: normal;
    font-size: 0.85rem;
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-hint {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.password-strength {
    height: 5px;
    background: #eee;
    margin-top: 10px;
    border-radius: 3px;
    overflow: hidden;
}

/* NEW STYLES for Landing Page Fixes */

/* Section Header Alignment */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    margin-bottom: 0;
}

.section-header a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.section-header a:hover {
    text-decoration: underline;
}

/* Fix for Categories Section Header which needs to be centered */
.landing-categories .section-header {
    display: block;
    text-align: center;
}

/* CTA Section Styles */
.cta-section {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--primary-color);
}

.btn-transparent {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-transparent:hover {
    background-color: white;
    color: var(--primary-color);
}
