:root {
    --primary-color: #366F6B;
    --primary-hover: #2a5652;
    --border-color: #EDEDED;
    --gold-color: #D4AF37;
    --gold-hover: #C5A028;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.home .main-content{
    background:url('../hero.jpg');
    background-size: cover;
    background-position: center;
    max-width: 100%;
}

/* Hero Section */
.hero {
    color: white;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 6rem;
    color: white;
    margin: 0;
    line-height: 1.1;
}

.hero h2 {
    font-size: 1.3rem;
    color: white;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    color: var(--primary-color);
}

[x-cloak] {
    display: none !important;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: auto;
    height: 60px;
    display: block;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.main-nav a {
    font-family: 'Syne', sans-serif;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-color);
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-color);
    transition: width 0.3s;
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).active::after {
    width: 100%;
}

.main-nav .btn {
    padding: 0.6rem 1.8rem;
    border-radius: 5px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.main-nav .btn::after {
    display: none;
}

.main-nav .btn:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(54, 111, 107, 0.3);
}

/* Main Content & Footer */
.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: stretch;
}

.site-footer {
    padding: 1rem 2rem;
    text-align: center;
    margin-top: auto;
    border-top:1px solid var(--border-color);
    font-size: 0.7rem;
}

/* Container */
.verdi-discovery-container {
    margin: 0 auto;
    padding: 20px;
    font-family: "Poppins", Sans-serif;
    align-self: center;
}

.verdi-discovery-container:not(#verdi-discovery-dashboard) {
    max-width: 600px;
    width:100%;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 30px;
    right: 30px;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 0 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number,
.step.completed .step-number {
    background-color: var(--gold-color);
    color: white;
}

.step-label {
    font-size: 12px;
    color: #FFF;
    text-align: center;
}

/* Form Styles */
.verdi-discovery-form {
    margin: 2rem 0;
}

.form-step {
    animation: fadeIn 0.3s ease-in-out;
}

.form-step h2 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

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

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

label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

select {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.readonly-input {
    background-color: #f8f8f8;
    color: #666;
    cursor: not-allowed;
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #666 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: inherit !important;
    font-weight: normal !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    min-width: auto !important;
    min-height: auto !important;
    border-radius: 0 !important;
}

.password-toggle:hover,
.password-toggle:focus {
    color: var(--primary-color) !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    outline: none !important;
}

.password-toggle:active {
    color: #005a87 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
}

/* Password Requirements */
.password-requirements {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.password-requirements small {
    font-size: 12px;
    color: #dc3545;
    display: block;
}

.password-requirements small.valid {
    color: #28a745;
}

/* Legacy support for ul/li format */
.password-requirements p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.password-requirements li {
    font-size: 13px;
    color: #dc3545;
    margin-bottom: 5px;
    position: relative;
}

.password-requirements li::before {
    content: '✗';
    position: absolute;
    left: -15px;
    font-weight: bold;
}

.password-requirements li.valid {
    color: #28a745;
}

.password-requirements li.valid::before {
    content: '✓';
}

/* Radio & Checkbox Inputs */
.radio-group {
    margin: 20px 0;
}

.radio-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: inline-block;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Marketing Consent */
.marketing-consent {
    margin-bottom: 30px;
}

.marketing-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Terms Acceptance */
.terms-acceptance {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 20px;
}

.terms-acceptance a {
    color: var(--primary-color);
    text-decoration: underline;
}

.terms-acceptance a:hover {
    text-decoration: none;
}

/* Messages */
.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-wrap: pretty;
}

.message p {
    margin-bottom: 0;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.field-error {
    color: #dc3232;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Success Screen */
.success-screen {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.success-screen h2 {
    font-size: 1.3rem;
}

.success-details {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    text-align: left;
}

.success-details h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.success-details p {
    margin: 10px 0;
}

/* Loading & Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

[x-data] .verdi-loading {
    display: none !important;
}

/* ============================================
   BELOW PREFERRED - Priority styles
   ============================================ */

/* Dashboard Container */
#verdi-discovery-dashboard {
    width: 100%;
    max-width: none;
    font-family: "Poppins", Sans-serif;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 100%;
}

/* Sidebar */
.dashboard-sidebar {
    border-right: 1px solid var(--border-color);
    padding: 2rem 2rem 2rem 0;
}

.member-summary {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.member-summary h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #333;
    font-family: "Syne", Sans-serif;
    font-weight: 600;
    text-transform: capitalize;
}

.member-id {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 1rem 0;
}

.member-status {
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.stat-label {
    color: #666;
}

.stat-value {
    font-weight: 600;
    color: #333;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-nav a {
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
    font-size: 0.95rem;
    display: block;
}

.sidebar-nav a:not(.active):hover {
    text-decoration: underline;
    color: black;
}

.sidebar-nav a.active {
    background: #DCD7D229;
    font-weight: 600;
}

.sidebar-nav a.logout-link {
    margin-top: 1rem;
    color: #d63638;
}

/* Main Content */
.dashboard-main {
    padding: 2rem 3rem;
}

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

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

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    margin: 0 0 2rem 0;
    font-size: 2rem;
    color: #333;
    font-family: "Syne", Sans-serif;
    font-weight: 600;
}

.dashboard-section h2 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: #333;
    font-family: "Syne", Sans-serif;
    font-weight: 600;
}

.dashboard-section h3 {
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    color: #555;
    font-family: "Syne", Sans-serif;
    font-weight: 600;
}

/* Overview Cards */
.overview-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
}

.overview-card h2 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin: 0 0 1rem 0;
    letter-spacing: 1px;
    font-family: "Syne", Sans-serif;
    text-transform: uppercase;
}

.balance-amount {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-family: 'Syne', sans-serif;
}

/* Status Card */
.status-card {
    color: white;
}

.status-card.tier-silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
}

.status-card.tier-gold {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
}

.status-card.tier-platinum {
    background: linear-gradient(135deg, #9e9e9e 0%, #7a7a7a 100%);
}

.status-card.tier-titanium {
    background: linear-gradient(135deg, #434343 0%, #1a1a1a 100%);
}

.status-card h2 {
    color: rgba(255,255,255,0.8);
}

.status-card-content h3 {
    font-size: 1.8rem;
    color: white;
    margin: 0 0 1rem 0;
    font-family: "Syne", Sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.membership-number {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* Tier Card (legacy) */
.tier-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
}

.tier-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Tier Progress Section */
.tier-progress-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.tier-progress-section h2 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #333;
    font-family: "Syne", Sans-serif;
    font-weight: 600;
}

/* Tier Visualization */
.tier-visualization {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 2rem 0 3rem;
    gap: 0;
    position: relative;
}

.tier-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    flex-shrink: 0;
}

.tier-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.tier-circle::after {
    content: " ";
    width: 80%;
    height: 80%;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tier-step.silver .tier-circle::after {
    background: #C0C0C0;
}

.tier-step.gold .tier-circle::after {
    background: #DAA520 !important;
}

.tier-step.platinum .tier-circle::after {
    background: #A8A8A8 !important;
}

.tier-step.titanium .tier-circle::after {
    background: #2C2C2C !important;
}

.tier-step.active .tier-circle {
    width: 60px;
    height: 60px;
}

.tier-connector {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    position: relative;
    align-self: flex-start;
    margin-top: 24px;
}

.tier-step.active ~ .tier-connector {
    margin-top: 29px;
}

.tier-connector.achieved {
    background: #e0e0e0;
}

.tier-label {
    font-size: 0.9rem;
    font-weight: 400;
    color: #333;
    font-family: "Syne", Sans-serif;
}

.tier-step.active .tier-label {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Progress Cards */
.progress-cards {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.progress-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 200px;
}

.progress-indicator-wrapper {
    position: relative;
    width: 100%;
}

.progress-indicator-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: left 0.5s ease;
}

.progress-indicator-dot.complete {
    background: var(--primary-color);
}

.progress-card.retention .progress-indicator-dot {
    border-color: #7a7a7a;
}

.progress-card.retention .progress-indicator-dot.complete {
    background: #7a7a7a;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: visible;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-card.retention .progress-bar-fill {
    background: #7a7a7a;
}

.progress-separator-or {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    text-transform: lowercase;
    padding: 0 0.5rem;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.progress-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.progress-values {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-family: "Poppins", Sans-serif;
}

.progress-current {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
}

.progress-separator,
.progress-target,
.progress-unit {
    font-size: 0.8rem;
    font-weight: 400;
}

.progress-label {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-family: "Poppins", Sans-serif;
}

/* Profile Section */
.profile-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.profile-section h2 {
    font-family: 'Syne', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.profile-item {
    padding: 0.5rem 0;
}

.profile-label {
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.profile-value {
    color: #333;
}

.profile-group-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.profile-group-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    color: #333;
    font-family: "Syne", Sans-serif;
    font-weight: 600;
}

.profile-info-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #F3E8FF;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.profile-info-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.profile-info-notice span {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

.profile-info-notice a {
    color: #5B21B6;
    text-decoration: underline;
}

.profile-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-field-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.profile-field-row:last-child {
    border-bottom: none;
}

.profile-field-row label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.profile-field-row span {
    color: #666;
    font-size: 0.95rem;
}

/* Preferences */
.preferences-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preference-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.preference-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    transition: all 0.2s ease;
}

.preference-checkbox.checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.preference-item span {
    font-size: 0.95rem;
    color: #333;
}

/* Forms in Dashboard */
.password-form {
    max-width: 600px;
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

/* Statement Section */
.statement-summary-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.statement-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
}

.statement-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin: 0 0 1rem 0;
    letter-spacing: 1px;
    font-family: "Syne", Sans-serif;
    text-transform: uppercase;
}

.statement-card-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.statement-card-label {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.statement-details {
    margin-top: 2rem;
}

.statement-groups-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.statement-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.statement-group {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.statement-group h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1.25rem 0;
    font-family: "Syne", Sans-serif;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.statement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.statement-item:last-child {
    border-bottom: none;
}

.statement-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.statement-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: "Poppins", Sans-serif;
}

/* Buttons - Dashboard Override */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Syne", Sans-serif;
}

button.btn,
a.btn {
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    background-color: var(--primary-color);
    color: white;
}

button.btn:active,
button.btn:hover,
button.btn:focus,
a.btn:hover,
a.btn:focus {
    background-color: var(--primary-hover);
    color: white;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(54, 111, 107, 0.3);
}

button.btn-primary,
a.btn-primary,
.btn-primary {
    background: var(--primary-color);
    color: white;
}

button.btn-primary:hover,
button.btn-primary:focus,
a.btn-primary:hover,
a.btn-primary:focus,
.btn-primary:hover {
    background: var(--primary-hover);
}

button.btn-secondary,
button.btn-secondary:active,
button.btn-secondary:focus,
a.btn-secondary,
a.btn-secondary:active,
a.btn-secondary:focus,
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

button.btn-secondary:hover,
a.btn-secondary:hover,
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

button.btn-outline-white,
a.btn-outline-white,
.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

button.btn-outline-white:hover,
a.btn-outline-white:hover,
.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255,255,255,0.3);
}

button.btn-white,
a.btn-white,
.btn-white {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

button.btn-white:hover,
a.btn-white:hover,
.btn-white:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(54, 111, 107, 0.3);
}

button.btn-confirm,
a.btn-confirm {
    background-color: var(--primary-color);
    color: white;
}

button.btn-confirm:hover,
button.btn-confirm:focus,
a.btn-confirm:hover,
a.btn-confirm:focus {
    background-color: var(--primary-hover);
}

button.btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Form Navigation */
.form-navigation {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Placeholder Content */
.placeholder-content {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.placeholder-content p {
    margin: 0.5rem 0;
}

.placeholder-content em {
    color: #999;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-icon {
    display: none;
    font-size: 32px;
    line-height: 1;
    color: #333;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for better mobile support */
    background: white;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.mobile-nav-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-header span {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.mobile-nav-content {
    padding: 1rem 0;
}

.mobile-nav-section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-section:last-child {
    border-bottom: none;
}

.mobile-nav-section a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s;
}

.mobile-nav-section a:hover {
    background: #f5f5f5;
}

.mobile-nav-section-title {
    padding: 0.75rem 1.5rem;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-dashboard-nav a {
    font-size: 0.95rem;
}

.mobile-nav-section a.logout-link {
    color: #d63638;
    margin-top: 0.5rem;
}

.mobile-auth-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
}

.mobile-nav-cta {
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.mobile-nav-cta:not(.primary) {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.mobile-nav-cta.primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

/* When mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .mobile-nav-overlay {
    display: block;
    opacity: 1;
}

body.mobile-menu-open .mobile-nav {
    right: 0;
}

body.mobile-menu-open .hamburger-icon {
    display: none;
}

body.mobile-menu-open .close-icon {
    display: block;
}

/* Tablet Breakpoint */
@media (max-width: 900px) {
    /* Show mobile menu toggle on tablets */
    .mobile-menu-toggle {
        display: block;
    }

    .desktop-nav {
        display: none !important;
    }

    .header-container {
        padding: 0 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 240px 1fr;
    }

    .dashboard-main {
        padding: 1.5rem;
    }

    .overview-cards,
    .statement-summary-cards,
    .statement-groups-container {
        grid-template-columns: 1fr;
    }

    .profile-field-row {
        grid-template-columns: 150px 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* Show mobile menu toggle, hide desktop nav */
    .mobile-menu-toggle {
        display: block;
    }

    .desktop-nav {
        display: none !important;
    }

    /* Header adjustments */
    .header-container {
        padding: 0 1.25rem;
    }

    .logo img {
        height: 50px;
    }

    /* Main content padding */
    .main-content {
        padding: 0 20px;
    }

    /* Hero adjustments */
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .verdi-discovery-container {
        padding: 15px;
    }

    /* Form spacing adjustments */
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .form-navigation {
        gap: 10px;
    }

    .progress-indicator {
        margin-bottom: 20px;
    }

    .step-label {
        font-size: 10px;
    }

    .step-number {
        width: 35px;
        height: 35px;
    }

    .form-navigation {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* Dashboard layout - hide sidebar on mobile */
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }

    .dashboard-main {
        padding: 1rem 20px;
    }

    .overview-cards,
    .statement-summary-cards,
    .statement-groups-container {
        grid-template-columns: 1fr;
    }

    .profile-field-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .profile-field-row label {
        font-size: 0.85rem;
    }

    .profile-field-row span {
        font-size: 0.9rem;
        padding-left: 0;
    }

    .tier-visualization {
        gap: 0;
        overflow-x: auto;
        padding: 1rem 0;
    }

    .tier-connector {
        flex: 1;
        min-width: 30px;
    }

    .tier-circle {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }

    .tier-step.active .tier-circle {
        width: 50px;
        height: 50px;
        border-width: 4px;
    }

    .tier-label {
        font-size: 0.75rem;
    }

    .tier-step.active .tier-label {
        font-size: 0.9rem;
    }

    /* Progress cards - stack vertically with separators */
    .progress-cards {
        flex-direction: column;
        gap: 0;
    }

    .progress-card {
        padding: 1.5rem;
        width: 100%;
    }

    .progress-separator-or {
        padding: 1rem 0;
        text-align: center;
        align-self: center;
    }

    /* Hide tier visualization on mobile */
    .tier-visualization {
        display: none;
    }

    /* Dashboard specific mobile adjustments */
    .dashboard-header h1 {
        font-size: 1.75rem;
    }

    .dashboard-section h2 {
        font-size: 1.3rem;
    }

    .balance-amount {
        font-size: 2.5rem;
    }

    .overview-card {
        padding: 1.5rem;
    }

    .statement-card {
        padding: 1.5rem;
    }

    .statement-card-value {
        font-size: 2rem;
    }

    .profile-group-card {
        padding: 1.5rem;
    }

    .statement-group {
        padding: 1rem;
    }

    /* Join form mobile adjustments */
    .join-header h1 {
        font-size: 1.75rem;
    }

    .form-step h2 {
        font-size: 1.3rem;
    }

    /* Login container */
    .login-container {
        padding: 0;
    }

    /* Better touch targets */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="date"],
    select {
        padding: 14px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    label {
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1rem;
    }

    .main-content {
        padding: 0 15px;
    }

    .header-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 45px;
    }

    .balance-amount {
        font-size: 2rem;
    }

    .statement-card-value {
        font-size: 1.75rem;
    }

    .overview-card,
    .statement-card,
    .profile-group-card,
    .statement-group {
        padding: 1rem;
    }

    .dashboard-header h1 {
        font-size: 1.5rem;
    }

    .tier-circle {
        width: 35px;
        height: 35px;
    }

    .tier-step.active .tier-circle {
        width: 45px;
        height: 45px;
    }

    .tier-label {
        font-size: 0.7rem;
    }

    .tier-step.active .tier-label {
        font-size: 0.85rem;
    }
}

/* Reservations List Styling */
.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.reservation-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.reservation-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reservation-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.reservation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reservation-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reservation-details h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.reservation-brand {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.reservation-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.reservation-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: #333;
}

.reservation-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.reservation-status.status-checkedout {
    background: #e8f5e9;
    color: #2e7d32;
}

.reservation-status.status-confirmed {
    background: #e3f2fd;
    color: #1565c0;
}

.reservation-status.status-cancelled {
    background: #ffebee;
    color: #c62828;
}

.loading-message {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .reservation-card {
        grid-template-columns: 1fr;
    }

    .reservation-image {
        min-height: 180px;
        max-height: 180px;
    }

    .reservation-details {
        padding: 1rem;
    }

    .reservation-details h3 {
        font-size: 1.25rem;
    }

    .reservation-info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}
