/* Your Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Inter:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root .lpx-brand-logo {
    --lpx-logo: url('/images/logo/leptonx/logo-light.png');
    --lpx-logo-icon: url('/images/logo/leptonx/logo-light-thumbnail.png');
}

[data-theme="default-theme"] {
    font-family: "Open Sans", "sans-serif" !important;
    --primary-50: hsl(180, 100%, 95%);
    --primary-100: hsl(180, 100%, 88%);
    --primary-200: hsl(181, 100%, 78%);
    --primary-300: hsl(180, 100%, 63%);
    --primary-400: hsl(182, 100%, 50%);
    --primary-500: hsl(189, 100%, 50%);
    --primary-600: hsl(194, 100%, 43%);
    --primary-700: hsl(195, 100%, 35%);
    --primary-800: hsl(195, 100%, 27%);
    --primary-900: hsl(197, 95%, 22%);
    --primary-950: hsl(199, 100%, 16%);
    --background: hsl(195, 100%, 100%);
    --foreground: hsl(222.2, 84%, 4.9%);
    --card: hsl(195, 100%, 100%);
    --card-foreground: hsl(222.2, 84%, 4.9%);
    --popover: hsl(195, 100%, 100%);
    --popover-foreground: hsl(222.2, 84%, 4.9%);
    --primary: hsl(195, 100%, 35%);
    --primary-foreground: hsl(210, 40%, 98%);
    --secondary: hsl(210, 40%, 96.1%);
    --secondary-foreground: hsl(222.2, 47.4%, 11.2%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --accent: hsl(210, 40%, 96.1%);
    --accent-primary: hsl(226, 77%, 86%);
    --accent-secondary: hsl(205, 100%, 96%);
    --accent-foreground: hsl(222.2, 47.4%, 11.2%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --border: hsl(214.3, 31.8%, 91.4%);
    --input: hsl(214.3, 31.8%, 91.4%);
    --ring: hsl(221.2, 83.2%, 53.3%);
    --radius: 0.5rem;
    --lpx-primary: hsl(195, 100%, 35%);
    --lpx-secondary: hsl(210, 40%, 96.1%);
    --bs-btn-bg: hsl(195, 100%, 35%) !important;
}

.btn-primary {
    --bs-btn-bg: hsl(195, 100%, 35%) !important;
}

.btn-secondary {
    --bs-btn-bg: hsl(221.2, 83.2%, 53.3%);
}

.btn-outline {
    --bs-btn-bg: hsl(221.2, 83.2%, 53.3%);
}


[data-theme="geowiki"] {
    font-family: "Open Sans", "sans-serif" !important;
    --primary-50: hsl(180, 100%, 95%);
    --primary-100: hsl(180, 100%, 88%);
    --primary-200: hsl(181, 100%, 78%);
    --primary-300: hsl(180, 100%, 63%);
    --primary-400: hsl(182, 100%, 50%);
    --primary-500: hsl(189, 100%, 50%);
    --primary-600: hsl(194, 100%, 43%);
    --primary-700: hsl(195, 100%, 35%);
    --primary-800: hsl(195, 100%, 27%);
    --primary-900: hsl(197, 95%, 22%);
    --primary-950: hsl(199, 100%, 16%);
    --background: hsl(195, 100%, 100%);
    --foreground: hsl(222.2, 84%, 4.9%);
    --card: hsl(195, 100%, 100%);
    --card-foreground: hsl(222.2, 84%, 4.9%);
    --popover: hsl(195, 100%, 100%);
    --popover-foreground: hsl(222.2, 84%, 4.9%);
    --primary: hsl(195, 100%, 35%);
    --primary-foreground: hsl(210, 40%, 98%);
    --secondary: hsl(210, 40%, 96.1%);
    --secondary-foreground: hsl(222.2, 47.4%, 11.2%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --accent: hsl(210, 40%, 96.1%);
    --accent-primary: hsl(226, 77%, 86%);
    --accent-secondary: hsl(205, 100%, 96%);
    --accent-foreground: hsl(222.2, 47.4%, 11.2%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --border: hsl(214.3, 31.8%, 91.4%);
    --input: hsl(214.3, 31.8%, 91.4%);
    --ring: hsl(221.2, 83.2%, 53.3%);
    --radius: 0.5rem;
    --lpx-primary: hsl(195, 100%, 35%);
    --lpx-secondary: hsl(210, 40%, 96.1%);

    .btn-primary {
        --bs-btn-color: #fff;
        --bs-btn-bg: hsl(195, 100%, 35%) !important;
        --bs-btn-border-color: hsl(195, 100%, 35%);
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #2d4fd9;
        --bs-btn-hover-border-color: #2a4acc;
        --bs-btn-focus-shadow-rgb: 83, 117, 255;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #2a4acc;
        --bs-btn-active-border-color: #2846bf;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #fff;
        --bs-btn-disabled-bg: hsl(195, 100%, 35%);
        --bs-btn-disabled-border-color: hsl(195, 100%, 35%);
    }

    .btn-secondary {
        --bs-btn-color: #fff;
        --bs-btn-bg: hsl(210, 40%, 96.1%) !important;
        --bs-btn-border-color: hsl(210, 40%, 96.1%);
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #5c4fb3;
        --bs-btn-hover-border-color: #564aa9;
        --bs-btn-focus-shadow-rgb: 130, 117, 218;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #564aa9;
        --bs-btn-active-border-color: #51469e;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #fff;
        --bs-btn-disabled-bg: hsl(210, 40%, 96.1%);
        --bs-btn-disabled-border-color: hsl(210, 40%, 96.1%);
    }

}

[data-theme="recodo"] {
    font-family: "Montserrat", "hanken-grotesk" !important;
    --primary-50: #f2faeb;
    --primary-100: #e0f4d3;
    --primary-200: #c3ebab;
    --primary-300: #9cdc7a;
    --primary-400: #79cb50;
    --primary-500: #59ad31;
    --primary-600: #448c24;
    --primary-700: #366b20;
    --primary-800: #2d561e;
    --primary-900: #29491e;
    --primary-950: #12280b;
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(240, 10%, 3.9%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(240, 10%, 3.9%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(240, 10%, 3.9%);
    --primary: #59ad31;
    --primary-foreground: hsl(355.7, 100%, 97.3%);
    --secondary: hsl(240, 4.8%, 95.9%);
    --secondary-foreground: hsl(240, 5.9%, 10%);
    --muted: hsl(240, 4.8%, 95.9%);
    --muted-foreground: hsl(240, 3.8%, 46.1%);
    --accent: hsl(240, 4.8%, 95.9%);
    --accent-foreground: hsl(240, 5.9%, 10%);
    --accent-primary: hsl(95, 69%, 90%);
    --accent-secondary: hsl(243, 100%, 96%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 98%);
    --border: hsl(240, 5.9%, 90%);
    --input: hsl(240, 5.9%, 90%);
    --ring: hsl(142.1, 76.2%, 36.3%);
    --radius: 0.5rem;
    --lpx-primary: #59ad31;
    --lpx-secondary: hsl(240, 4.8%, 95.9%);

    .btn-primary {
        --bs-btn-color: #fff;
        --bs-btn-bg: #59ad31 !important;
        --bs-btn-border-color: #59ad31;
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #9cdc7a !important;
        --bs-btn-hover-border-color: #9cdc7a !important;
        --bs-btn-focus-shadow-rgb: 83, 117, 255;
        --bs-btn-active-color: #9cdc7a !important;
        --bs-btn-active-bg: #9cdc7a !important;
        --bs-btn-active-border-color: #9cdc7a !important;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #fff;
        --bs-btn-disabled-bg: #59ad31;
        --bs-btn-disabled-border-color: #59ad31;
    }

    .btn-secondary {
        --bs-btn-color: #fff;
        --bs-btn-bg: hsl(240, 4.8%, 95.9%);
        --bs-btn-border-color: hsl(240, 4.8%, 95.9%);
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #5c4fb3;
        --bs-btn-hover-border-color: #564aa9;
        --bs-btn-focus-shadow-rgb: 130, 117, 218;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #564aa9;
        --bs-btn-active-border-color: #51469e;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #fff;
        --bs-btn-disabled-bg: hsl(240, 4.8%, 95.9%);
        --bs-btn-disabled-border-color: hsl(240, 4.8%, 95.9%);
    }

}

/* Index Page Styles */
.auth-container {
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 800px;
    width: 100%;
}

.auth-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.auth-header h1 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.5rem;
}

.auth-subtitle {
    margin: 0;
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 400;
}

.auth-header img {
    height: 60px;
    margin-bottom: 1rem;
}

.auth-body {
    padding: 2.5rem;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.user-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #12b900 0%, #0d8f00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(18, 185, 0, 0.3);
}

.user-info h3 {
    margin: 0 0 0.75rem 0;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

.user-info p {
    margin: 0 0 1.5rem 0;
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.5;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #12b900 0%, #0d8f00 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d8f00 0%, #0a6b00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 185, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: #12b900;
    border: 2px solid #12b900;
}

.btn-outline:hover {
    background: #12b900;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 185, 0, 0.3);
}

.language-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #12b900;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
}

.info-card h4 {
    margin: 0 0 0.75rem 0;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

.info-card p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        max-width: 100%;
    }
    
    .auth-body {
        padding: 1.5rem;
    }
    
    .user-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .btn-group {
        justify-content: center;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}