/* KAJEXPRO HUB STYLESHEET */
:root {
    --bg-dark: #07090e;
    --card-bg: rgba(16, 21, 33, 0.6);
    --card-border: rgba(255, 255, 255, 0.07);
    
    --beef-primary: #ff4e50;
    --beef-gradient: linear-gradient(135deg, #ff4e50 0%, #f9d423 100%);
    --card-glow-beef: rgba(255, 78, 80, 0.15);
    
    --ragu-primary: #00f2fe;
    --ragu-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --card-glow-ragu: rgba(0, 242, 254, 0.15);
    
    --tags-primary: #da22ff;
    --tags-gradient: linear-gradient(135deg, #da22ff 0%, #9114ff 100%);
    --card-glow-tags: rgba(218, 34, 255, 0.15);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Floating Blobs Background */
.blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    mix-blend-mode: screen;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 78, 80, 0.8) 0%, rgba(249, 212, 35, 0.1) 80%);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.8) 0%, rgba(79, 172, 254, 0.1) 80%);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(218, 34, 255, 0.7) 0%, rgba(218, 34, 255, 0) 70%);
    top: 40%;
    left: 45%;
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(60px, -40px) scale(1.1) rotate(180deg); }
    100% { transform: translate(-40px, 80px) scale(0.9) rotate(360deg); }
}

/* Layout container */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header styling */
.header {
    text-align: center;
    margin-bottom: 60px;
}

.logo-area {
    display: inline-block;
    position: relative;
    margin-bottom: 12px;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: linear-gradient(90deg, #ff4e50, #da22ff, #00f2fe);
    filter: blur(40px);
    opacity: 0.15;
    z-index: -1;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, #ffffff 0%, #d1d5db 60%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-accent {
    background: linear-gradient(90deg, #ff4e50, #da22ff, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Grid layout for selection */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

/* Sleek glassmorphic card base */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    cursor: default;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.card-inner {
    padding: 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: -1;
}

/* Card Hover States */
.card-beef:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 78, 80, 0.35);
    box-shadow: 0 20px 40px -15px rgba(255, 78, 80, 0.15);
}

.card-beef:hover .card-glow {
    opacity: 1;
    background: radial-gradient(circle at 50% 0%, var(--card-glow-beef) 0%, transparent 70%);
}

.card-ragu:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.15);
}

.card-ragu:hover .card-glow {
    opacity: 1;
    background: radial-gradient(circle at 50% 0%, var(--card-glow-ragu) 0%, transparent 70%);
}

.card-tags:hover {
    transform: translateY(-8px);
    border-color: rgba(218, 34, 255, 0.35);
    box-shadow: 0 20px 40px -15px rgba(218, 34, 255, 0.15);
}

.card-tags:hover .card-glow {
    opacity: 1;
    background: radial-gradient(circle at 50% 0%, var(--card-glow-tags) 0%, transparent 70%);
}

/* Card Elements */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 100px;
    text-transform: uppercase;
}

.status-beef {
    background: rgba(255, 78, 80, 0.1);
    color: #ff7e80;
    border: 1px solid rgba(255, 78, 80, 0.2);
}

.status-ragu {
    background: rgba(0, 242, 254, 0.1);
    color: #4fe1fe;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.status-tags {
    background: rgba(218, 34, 255, 0.1);
    color: #e57eff;
    border: 1px solid rgba(218, 34, 255, 0.2);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    box-shadow: 0 0 8px currentColor;
    display: inline-block;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-beef {
    background: linear-gradient(135deg, rgba(255, 78, 80, 0.2), rgba(249, 212, 35, 0.2));
    border: 1px solid rgba(255, 78, 80, 0.3);
    color: #ff6f71;
}

.icon-ragu {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: #4fd1fe;
}

.icon-tags {
    background: linear-gradient(135deg, rgba(218, 34, 255, 0.2), rgba(145, 20, 255, 0.2));
    border: 1px solid rgba(218, 34, 255, 0.3);
    color: #e26fff;
}

.icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.card-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.card-beef h2 {
    background: var(--beef-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-ragu h2 {
    background: var(--ragu-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-tags h2 {
    background: var(--tags-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
    min-height: 90px;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.spec-label {
    color: var(--text-muted);
}

.spec-value {
    font-weight: 600;
    font-family: monospace;
}

.text-beef {
    color: #ffa4a5;
}

.text-ragu {
    color: #a4f5ff;
}

.text-tags {
    color: #f1a4ff;
}

/* Launch Buttons styling */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn span {
    z-index: 2;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
    z-index: 2;
}

.btn-beef {
    background: var(--beef-gradient);
    color: #07090e;
}

.btn-beef:hover {
    box-shadow: 0 8px 24px rgba(255, 78, 80, 0.4);
    transform: scale(1.02);
}

.btn-ragu {
    background: var(--ragu-gradient);
    color: #07090e;
}

.btn-ragu:hover {
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.4);
    transform: scale(1.02);
}

.btn-tags {
    background: var(--tags-gradient);
    color: #07090e;
}

.btn-tags:hover {
    box-shadow: 0 8px 24px rgba(218, 34, 255, 0.4);
    transform: scale(1.02);
}

.btn:hover .arrow-icon {
    transform: translateX(5px);
}

/* Guide Accordion Section */
.guide-section {
    background: rgba(13, 18, 30, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: var(--transition-smooth);
    margin-bottom: 20px;
}

.guide-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.guide-toggle:hover {
    background: rgba(255, 255, 255, 0.02);
}

.guide-icon {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    color: #a4f5ff;
}

.chevron-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.guide-toggle:hover .chevron-icon {
    color: var(--text-primary);
}

.guide-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
}

.guide-section.active .guide-content {
    max-height: 2000px; /* Big enough fallback */
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    padding-bottom: 28px;
}

.guide-section.active #guide-chevron {
    transform: rotate(180deg);
    color: #00f2fe;
}

/* Tabs UI inside guide */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 18px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
    color: #07090e;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    border-color: transparent;
    font-weight: 600;
}

/* Tab panes content */
.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
    display: block;
}

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

.tab-pane h3 {
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 12px;
    color: #00f2fe;
}

.tab-pane p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

/* Beautiful custom tables */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

th, td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-weight: 600;
}

td code {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #ffa4a5;
}

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

.badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-a {
    background: rgba(0, 242, 254, 0.1);
    color: #4fe1fe;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

/* Custom code blocks */
.code-header {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

pre {
    background: rgba(5, 7, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 0 0 12px 12px;
    overflow-x: auto;
    margin-bottom: 20px;
}

pre code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.88rem;
    color: #d1d5db;
    line-height: 1.5;
}

/* Custom Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.alert-info {
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: #a4f5ff;
}

/* Footer styling */
.footer-bottom {
    text-align: center;
    padding: 30px 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   ADMIN PORTAL & FLOATING GLASSMORPHIC MODAL SYSTEM
   ========================================================================== */

/* Header admin trigger styling */
.header {
    position: relative;
}

.header-auth-action {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 15;
}

.btn-auth-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    letter-spacing: 0.05em;
}

.btn-auth-trigger:hover {
    background: rgba(218, 34, 255, 0.08);
    border-color: rgba(218, 34, 255, 0.35);
    box-shadow: 0 4px 15px rgba(218, 34, 255, 0.15);
    transform: translateY(-2px);
}

.auth-trigger-icon {
    width: 16px;
    height: 16px;
    color: #ffa4a5;
    transition: var(--transition-smooth);
}

.btn-auth-trigger:hover .auth-trigger-icon {
    color: var(--tags-primary);
}

/* Floating Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 10, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Move the card styling into the modal overlay */
.modal-overlay .login-card {
    background: rgba(13, 19, 33, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 38px;
    width: 100%;
    max-width: 450px;
    margin: 0 20px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-20px) scale(0.96);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.modal-overlay.active .login-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.btn-modal-close {
    position: absolute;
    right: 20px;
    top: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
    padding: 4px;
}

.btn-modal-close:hover {
    color: #ff6f71;
    transform: scale(1.1);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ff4e50 0%, #da22ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
}

.login-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.input-group input {
    width: 100%;
    padding: 16px 16px 16px 52px;
    background: rgba(5, 7, 12, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.input-group input:focus {
    border-color: rgba(218, 34, 255, 0.5);
    background: rgba(5, 7, 12, 0.85);
    box-shadow: 0 0 20px rgba(218, 34, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.input-group input:focus ~ .input-icon {
    color: var(--tags-primary);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    z-index: 5;
}

.password-toggle:hover {
    color: var(--text-primary);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* Login Submit Button */
.btn-login {
    background: var(--tags-gradient);
    color: #07090e;
    margin-top: 10px;
}

.btn-login:hover {
    box-shadow: 0 8px 24px rgba(218, 34, 255, 0.4);
    transform: translateY(-2px);
}

.login-btn-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn-login:hover .login-btn-icon {
    transform: translateX(5px);
}

/* Feedback message container */
.login-feedback {
    min-height: 24px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #ff6f71;
    margin-bottom: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(-5px);
}

.login-feedback.active {
    opacity: 1;
    transform: translateY(0);
}

.login-feedback.success {
    color: #00f2fe;
}

/* Spawn-in dynamic accordion reveal animation */
.guide-section.spawn-in {
    animation: spawnIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spawnIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Style for spawned guide-toggle adjustment */
.guide-toggle {
    justify-content: flex-start !important;
    gap: 16px;
}

.guide-icon {
    margin-right: 0 !important; /* Reset margin since we use gap */
}

/* Authenticated Header Bar & Signout Button */
.guide-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeIn 0.5s ease forwards;
}

.guide-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.btn-signout {
    background: rgba(255, 78, 80, 0.08);
    color: #ff7e80;
    border: 1px solid rgba(255, 78, 80, 0.15);
    padding: 10px 18px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.btn-signout:hover {
    background: rgba(255, 78, 80, 0.18);
    color: #ff4e50;
    border-color: rgba(255, 78, 80, 0.35);
    box-shadow: 0 6px 16px rgba(255, 78, 80, 0.15);
    transform: translateY(-1px);
}

.signout-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.btn-signout:hover .signout-icon {
    transform: translateX(-3px);
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 16px;
    }
    
    .logo-text {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .card-inner {
        padding: 28px;
    }
    
    .guide-toggle {
        padding: 18px;
        font-size: 1rem;
    }
    
    .tabs {
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

/* Auth Micro-animations */
@keyframes wobble {
    0%, 100% { transform: translateX(0); }
    15%, 45%, 75% { transform: translateX(-8px); }
    30%, 60%, 90% { transform: translateX(8px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite !important;
}

