/* Preloading the images */
body::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    background-image: url('~/images/Dragynn.png'), 
                     url('~/images/Dragynn_Logo.png');
}

:root {
    --primary: #FF5722; /* Orange color based on the logo */
    --secondary: #FF7D00;
    --dark: #1A1A2E;
    --light: #F7F7F9;
    --accent: #50C878;
    --gradient-primary: linear-gradient(135deg, #FF5722, #FF9800);
    --gradient-secondary: linear-gradient(135deg, #FF7D00, #FFB347);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Add these global styles to prevent layout issues */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

main {
    display: block;
    margin-top: 0;
    padding-top: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    padding: 10px 0;
    position: relative;
    width: 100%;
    z-index: 1000;
    background-color: rgba(247, 247, 249, 0.95);
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background: var(--gradient-secondary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #FF7D00, #FF5722);
    position: relative;
    isolation: isolate;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.85;
    z-index: -1;
}

.hero-content {
    color: white;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    display: none;
}

@media (min-width: 992px) {
    .hero-image {
        display: block;
        flex-shrink: 0;
    }
    
    .hero-image img {
        width: 200px;
        height: auto;
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    }
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Job Seekers CTA Section */
.job-seekers-cta {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.job-seekers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.job-seeker-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.job-seeker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffece5, #fff5f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.job-seeker-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.job-seeker-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.job-seekers-cta-box {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.job-seekers-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.cta-box-content h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.cta-box-content p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-button-wrapper {
    margin: 50px auto 40px;
    padding: 0;
    text-align: center;
    display: block;
    width: 100%;
    clear: both;
}

.cta-button.large-featured {
    padding: 16px 40px;
    font-size: 1.1rem;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
}

.trust-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-heading p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary);
    background: #ffece5;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: #ffece5;
}

.tabs {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 15px 30px;
    background: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.tab-button.active {
    background: var(--gradient-primary);
    color: white;
}

.tab-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Find A Dragynn Section Styles */
.find-dragynn {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
}

.find-dragynn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    z-index: 1;
}

.find-dragynn .container {
    position: relative;
    z-index: 2;
}

.search-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

.search-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.search-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.search-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF7D00, #FF5722);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.search-title h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.search-title p {
    color: #666;
    font-size: 1rem;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.input-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 14px 20px;
    padding-right: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f9fafb;
    color: #444;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.search-input::placeholder {
    color: #aaa;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
}

select.search-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.advanced-options {
    margin-top: 10px;
}

.advanced-options summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px;
    user-select: none;
}

.advanced-options summary:focus {
    outline: none;
}

.advanced-options-content {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9fafb;
    border-radius: 10px;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.checkbox-label input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.95rem;
    color: #555;
}

.search-btn-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.search-btn {
    background: linear-gradient(135deg, #FF5722, #FF9800);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
}

.search-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-feature {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.search-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.search-feature .feature-icon {
    color: var(--primary);
    margin-bottom: 15px;
}

.search-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.search-feature p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #777;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-emphasis {
    font-size: 1.3rem !important;
    margin-bottom: 50px !important;
}

.cta-emphasis strong {
    color: #FFE082;
    font-size: 1.4rem;
}

.cta-split {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cta-block {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 35px;
    border-radius: 16px;
    flex: 1;
    min-width: 300px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-block:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-block h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.cta-block p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button.large-pulse {
    padding: 16px 35px;
    font-size: 1.1rem;
    background: white;
    color: var(--primary);
    animation: pulse 2.5s infinite;
}

.mini-text {
    font-size: 0.85rem;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-divider span {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive updates for CTA section */
@media (max-width: 768px) {
    .cta-split {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-divider {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .cta-block {
        width: 100%;
        min-width: auto;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .job-seekers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-seekers-cta-box {
        padding: 30px 20px;
    }
    
    .cta-box-content h3 {
        font-size: 1.6rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 15px;
    }
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .search-container {
        grid-template-columns: 1fr;
    }
    
    .search-features {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 20px;
    }
    
    .search-feature {
        min-width: 250px;
    }
}

@media (max-width: 900px) {
    .nav-items {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
    }
    
    .nav-items.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .search-features {
        flex-direction: column;
    }
    
    .search-feature {
        min-width: auto;
    }
    
    .nav-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .nav-items.active {
        display: flex;
    }
    
    .nav-items li {
        margin: 0;
        width: 100%;
    }
    
    .nav-items li a {
        padding: 15px;
        display: block;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
    }
    
    .mobile-menu-toggle.active {
        color: #ff7b00;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-heading h2 {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Authentication related styles */
.login-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.auth-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

.auth-form .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.auth-form .form-input:focus {
    border-color: #8a4baf;
    outline: none;
    box-shadow: 0 0 0 2px rgba(138, 75, 175, 0.2);
}

.auth-form .text-danger {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.auth-form .remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.auth-form .checkbox {
    display: flex;
    align-items: center;
}

.auth-form .checkbox input {
    margin-right: 8px;
}

.auth-form .forgot-password {
    color: #8a4baf;
    text-decoration: none;
    font-size: 14px;
}

.auth-form .forgot-password:hover {
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background-color: #8a4baf;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.auth-button:hover {
    background-color: #7a3d9f;
}

.auth-separator {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-separator:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.auth-separator span {
    position: relative;
    background-color: white;
    padding: 0 10px;
    color: #666;
    font-size: 14px;
}

.auth-options {
    text-align: center;
}

.auth-option-link {
    color: #8a4baf;
    text-decoration: none;
    font-size: 15px;
}

.auth-option-link:hover {
    text-decoration: underline;
}

/* User menu dropdown */
.login-button {
    color: #8a4baf;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: rgba(138, 75, 175, 0.1);
}

.user-menu-container {
    position: relative;
}

.user-menu-button {
    background-color: transparent;
    border: 1px solid #8a4baf;
    color: #8a4baf;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
}

.user-menu-button .dropdown-arrow {
    margin-left: 6px;
    font-size: 12px;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    width: 200px;
    margin-top: 10px;
    display: none;
    z-index: 100;
}

.user-menu-dropdown.active {
    display: block;
}

.user-menu-dropdown a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.user-menu-dropdown a:hover {
    background-color: #f5f5f5;
}

.user-menu-dropdown .logout-form {
    padding: 6px 15px 12px;
    border-top: 1px solid #eee;
    margin-top: 5px;
}

.user-menu-dropdown .logout-button {
    background-color: transparent;
    border: none;
    color: #dc3545;
    padding: 0;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 6px 0;
}

.user-menu-dropdown .logout-button:hover {
    color: #bd2130;
}

/* Logout confirmation */
.logout-confirmation {
    text-align: center;
    padding: 80px 20px;
}

.logout-confirmation h2 {
    margin-bottom: 15px;
    color: #333;
}

.logout-confirmation p {
    color: #666;
    font-size: 16px;
}

/* Make sure content doesn't overlap with fixed elements */
.content-wrapper {
    padding-top: 60px; /* Match header height */
}

/* User dropdown styles for main layout */
.user-dropdown {
    position: relative;
    margin-left: 20px;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.user-dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 8px;
    background-color: #f5f5f5;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3498db;
    color: white;
    font-weight: bold;
}

.avatar-placeholder.small {
    font-size: 12px;
}

.user-name {
    font-weight: 500;
    margin-right: 5px;
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    z-index: 1000;
    display: none;
    margin-top: 10px;
}

.user-menu.active {
    display: block;
}

.user-menu a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.user-menu a:hover {
    background-color: #f5f7fa;
}

.user-menu i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    color: #666;
}

.user-menu .divider {
    height: 1px;
    background-color: #eee;
    margin: 5px 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .user-dropdown-toggle .user-name {
        display: none;
    }
    
    .user-dropdown-toggle i {
        display: none;
    }
    
    .user-avatar {
        margin-right: 0;
    }
    
    .user-menu {
        width: 200px;
        right: -10px;
    }
}