
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #22C55E;
    --primary-dark: #333333;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-gray: #E5E7EB;
    --info-bg: #EBF5FF;
    --info-border: #3B82F6;
    --error-red: #EF4444;
    --header-height: 60px;
}

:root.dark-theme {
    --primary-green: #22C55E;
    --primary-dark: #15803D;
    --text-dark: #E5E7EB;
    --text-gray: #9CA3AF;
    --bg-light: #0B1220;
    --bg-white: #111827;
    --border-gray: #1F2937;
    --info-bg: #0F172A;
    --info-border: #38BDF8;
    --error-red: #F87171;
}

body {
   font-family: "Roboto", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Menu Toggle Button */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.profile-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    text-decoration: none;
}

.profile-icon-circle {
    font-size: 18px;
    line-height: 1;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    display: none;
    pointer-events: none;
    opacity: 0;
    z-index: 300;
    transition: opacity 0.3s ease;
    justify-content: flex-end;
    align-items: stretch;
}

.mobile-menu.is-open {
    display: flex;
    pointer-events: auto;
    opacity: 1;
}

.mobile-menu__backdrop {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.is-open .mobile-menu__backdrop {
    opacity: 1;
}

.mobile-menu__panel {
    width: 320px;
    max-width: 90vw;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 28px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
}

.menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.menu-heading {
    font-weight: 600;
    font-size: 20px;
    color: #1f2933;
}

.menu-heading.auth-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-heading.auth-heading .menu-link {
    padding: 0;
    font-weight: 700;
}

.menu-heading.auth-heading .divider {
    color: #6b7280;
    font-weight: 600;
}

.menu-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #1f2933;
}

.menu-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.menu-link {
    color: #1f2933;
    text-decoration: none;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    transition: color 0.2s ease;
}

.menu-link:hover {
    color: #0f172a;
}

.menu-link .arrow {
    font-size: 16px;
    line-height: 1;
}

.menu-spacer {
    height: 10px;
}

/* Auth layout */
.auth-layout {
    width: 100%;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(320px, 480px);
    justify-content: center;
    align-items: start;
}

.auth-card {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    display: grid;
    gap: 12px;
    max-width: 420px;
    width: 100%;
    justify-self: center;
}

.profile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.profile-actions .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.profile-meta {
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: #4b5563;
}
.auth-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 20px 32px;
}

.auth-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.auth-header h1 {
    margin: 0;
}

.auth-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.auth-alert {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid;
}

.auth-alert.success {
    background: #ecfdf3;
    border-color: #10b981;
    color: #065f46;
}

.auth-alert.error {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.auth-toggle {
    display: inline-flex;
    gap: 8px;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 4px;
}

.auth-toggle button {
    border: none;
    background: transparent;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
}

.auth-toggle button.is-active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    color: #111827;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Illustration */
.illustration {
    width: 100%;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    max-width: 300px;
}

.illustration svg {
    width: 100%;
    height: auto;
}

/* Form Section */
.form-section {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-dark);
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    color: var(--text-dark);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    background-color: var(--bg-white);
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input::placeholder {
    color: var(--text-gray);
}

.form-hint {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

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

.btn-primary:hover {
    background-color: #1F2937;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: var(--text-gray);
    font-size: 14px;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--text-gray);
}

/* Duration Page Specific */
.duration-selects {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.duration-select-wrapper {
    flex: 1;
}

.info-box {
    background-color: var(--info-bg);
    border: 1px solid var(--info-border);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 25px;
}

.info-box-content {
    display: flex;
    align-items: start;
    gap: 10px;
}

.info-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

.info-text strong {
    font-weight: 600;
}

.price-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-gray);
}

.price-label {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.price-amount {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-green);
}

.price-note {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 5px;
}

/* Footer */
.footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-gray);
    padding: 40px 20px 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--text-dark);
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 14px;
}

/* Dark Theme Support */
.dark-theme-toggle {
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    animation: fadeIn 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .duration-selects {
        flex-direction: column;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .price-amount {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 20px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .btn {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .form-input,
    .form-select {
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.error {
    color: var(--error-red);
    font-size: 14px;
    margin-top: 5px;
}

/* Loading State */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-gray);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
h2 {
    font-size: 2.75rem;font-weight: 300; text-align: left;
}

/* Hidden SEO block */
.seo-hidden-block {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.seo-hidden-block a {
    display: block;
}

/* Ensure menu toggle visible on all breakpoints */
@media (min-width: 769px) {
    .menu-toggle {
        display: flex !important;
    }
}
