/* ============================================
   Zuke Login Page Styles - Light & Dark Mode
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff8b00;
    --secondary-color: #ff9f1a;
    --accent-color: #ffa733;
    
    /* Dark Mode (Default) */
    --bg-dark: #1a1a1a;
    --card-bg: #1f1f1f;
    --text-light: #ffffff;
    --text-gray: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --input-border: rgba(255, 255, 255, 0.2);
    --button-secondary-bg: rgba(255, 255, 255, 0.1);
    --button-secondary-border: rgba(255, 255, 255, 0.2);
    --button-secondary-text: #ffffff;
    --footer-bg: rgba(0, 0, 0, 0.5);
}

/* Light Mode */
[data-theme="light"] {
    --bg-dark: #f5f5f5;
    --card-bg: #ffffff;
    --text-light: #1a1a1a;
    --text-gray: #666666;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --input-border: rgba(0, 0, 0, 0.15);
    --button-secondary-bg: rgba(0, 0, 0, 0.05);
    --button-secondary-border: rgba(0, 0, 0, 0.15);
    --button-secondary-text: #1a1a1a;
    --footer-bg: rgba(255, 255, 255, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    background: var(--bg-dark);
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in, background-color 0.3s ease;
    color: var(--text-light);
}

body.loaded {
    opacity: 1;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark));
    transition: background 0.3s ease;
}

/* ============================================
   FLOATING ORBS / PARTICLES
   ============================================ */

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    display: none;
    z-index: 1;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary-color), transparent);
    bottom: -200px;
    right: -200px;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 139, 0, 0.4);
    border-radius: 50%;
    display: none;
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.login-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

/* ============================================
   LOGIN CARD - TWO COLUMN LAYOUT
   ============================================ */

.login-card {
    background: var(--card-bg);
    border-radius: 8px;
    width: 100%;
    max-width: 750px;
    min-height: 500px;
    box-shadow: 0 1px 3px var(--shadow-color), 0 1px 2px var(--shadow-color);
    animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    transition: all 0.3s ease;
    margin: auto;
    will-change: transform;
}

.login-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ============================================
   CONTENT AREA
   ============================================ */

.card-left-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.card-right-form {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.02);
    border-left: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="light"] .card-right-form {
    background: rgba(0, 0, 0, 0.02);
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.logo {
    width: 50px;
    height: 50px;
}

.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

[data-theme="light"] .logo-light {
    display: block;
}

[data-theme="light"] .logo-dark {
    display: none;
}

.card-header {
    text-align: left;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.card-description {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 1.5rem 0;
}

.additional-links {
    margin-top: 2rem;
}

/* ============================================
   FORM STYLES
   ============================================ */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
}

.form-input {
    padding: 0.75rem 0.75rem;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid var(--input-border);
    background: transparent;
    color: var(--text-light);
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

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

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.create-account-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-align: center;
    margin: 0;
}

.link-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link-text:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ============================================
   AUTH BUTTONS
   ============================================ */

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    margin-top: 2rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.submit-button {
    width: 100%;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.primary-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 2px 8px rgba(255, 139, 0, 0.2);
}

.primary-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 139, 0, 0.5), 0 0 40px rgba(255, 139, 0, 0.3);
}

.secondary-button {
    background: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    border: 1px solid var(--button-secondary-border);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.secondary-button:not(:disabled):hover {
    transform: translateY(-2px);
    background: rgba(255, 139, 0, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 139, 0, 0.3);
}

[data-theme="light"] .secondary-button:not(:disabled):hover {
    background: rgba(255, 139, 0, 0.08);
}

.submit-button span {
    position: relative;
    z-index: 2;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 139, 0, 0.5),
        0 0 40px rgba(255, 139, 0, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.logout-button {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.logout-button:not(:disabled):hover {
    box-shadow: 
        0 8px 25px rgba(107, 114, 128, 0.5),
        0 0 40px rgba(107, 114, 128, 0.3);
}

/* Loading State */
.submit-button.loading {
    pointer-events: none;
    animation: buttonPulse 1.5s ease-in-out infinite;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    z-index: 3;
}

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

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 139, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 139, 0, 0.6);
    }
}

/* ============================================
   SOCIAL ICONS
   ============================================ */

.social-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.social-icon {
    width: 36px; /* Reduced from 40px */
    height: 36px; /* Reduced from 40px */
    border-radius: 50%;
    background: rgba(255, 139, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem; /* Reduced from 1.2rem */
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 139, 0, 0.4);
}

@media (max-width: 968px) {
    .social-icons {
        justify-content: flex-start;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .social-icons {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
}

.card-image-decorator {
    display: none;
}

.decorator-image {
    display: none;
}

/* ============================================
   FOOTER
   ============================================ */

.login-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    /* background: var(--footer-bg); */
    z-index: 5;
    transition: background 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text-light);
}

/* ============================================
   VIDEO BACKGROUND (OPTIONAL)
   ============================================ */

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 45, 45, 0.8);
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(0.5);
}

/* ============================================
   SUCCESS/ERROR MESSAGES
   ============================================ */

.success-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
    animation: slideInBottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.error-message {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
    animation: slideInBottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

@keyframes checkPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(255, 139, 0, 0.3));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px rgba(255, 139, 0, 0.5));
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .login-card {
        max-width: 600px;
        flex-direction: column;
    }
    
    .card-left-content {
        padding: 2rem;
    }
    
    .card-right-form {
        padding: 2rem;
        border-left: none;
        border-top: 1px solid var(--border-color);
        background: transparent;
    }
}

@media (max-width: 768px) {
    .login-card {
        border-radius: 16px;
        max-width: 100%;
        flex-direction: column;
    }
    
    .card-left-content {
        padding: 1.5rem;
    }
    
    .card-right-form {
        padding: 1.5rem;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .logo {
        max-height: 50px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-subtitle {
        font-size: 0.8rem;
    }
    
    .card-description {
        font-size: 0.8rem;
    }
    
    .form-input {
        padding: 0.6rem 0.5rem;
        font-size: 0.95rem;
    }
    
    .submit-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .login-footer {
        padding: 1rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-link {
        font-size: 0.7rem;
    }

    .theme-toggle {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 0.75rem;
        padding-top: 70px;
    }
    
    .login-card {
        border-radius: 12px;
        min-height: auto;
        flex-direction: column;
    }
    
    .card-left-content {
        padding: 1.25rem;
    }
    
    .card-right-form {
        padding: 1.25rem;
    }
    
    .logo {
        max-height: 45px;
        margin-bottom: 0.5rem;
    }
    
    .card-header {
        margin-bottom: 0.75rem;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }
    
    .card-subtitle {
        font-size: 0.75rem;
    }
    
    .card-description {
        font-size: 0.75rem;
        margin: 1rem 0;
    }
    
    .additional-links {
        margin-top: 1rem;
    }
    
    .form-group {
        gap: 0.4rem;
    }
    
    .form-label {
        font-size: 0.8rem;
    }
    
    .form-input {
        padding: 0.5rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .auth-buttons {
        gap: 0.75rem;
    }
    
    .button-group {
        gap: 0.75rem;
    }
    
    .submit-button {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .login-footer {
        padding: 0.75rem 0.5rem;
        bottom: 60px;
    }
    
    .footer-links {
        gap: 0.75rem;
    }
    
    .footer-link {
        font-size: 0.65rem;
    }

    .theme-toggle {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.submit-button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.theme-toggle:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .orb {
        animation: none;
        opacity: 0.2;
    }
    
    .particle {
        display: none;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   Z-INDEX MANAGEMENT
   ============================================ */

.animated-background { z-index: 0; }
.video-background { z-index: 0; }
.orb { z-index: 1; }
.particles { z-index: 1; }
.floating-sim-cards { z-index: 2; }
.login-container { z-index: 10; }

/* ============================================
   FLOATING SIM CARDS
   ============================================ */

.floating-sim-cards {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.floating-sim-card {
    position: absolute;
    width: 200px;
    height: 160px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px;
    transform: scale(var(--card-scale, 0.8));
    opacity: 0;
    transition: opacity 0.5s ease;
    
    /* Create the subtle cut corner shape */
    clip-path: polygon(
        0 0,                    /* top-left */
        calc(100% - 25px) 0,    /* top-right before cut */
        100% 25px,              /* right side of cut */
        100% 100%,              /* bottom-right */
        0 100%                  /* bottom-left */
    );
    
    /* Top-to-bottom floating with subtle rotation */
    animation: 
        floatTopToBottom var(--float-duration, 25s) linear infinite var(--float-delay, 0s),
        subtleRotate calc(var(--float-duration, 25s) * 0.8) ease-in-out infinite var(--float-delay, 0s);
}

[data-theme="light"] .floating-sim-card {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.floating-sim-card.fade-in {
    opacity: 0.6;
}

.floating-sim-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--primary-color);
}

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

.floating-sim-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.floating-sim-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 4px;
}

.floating-sim-info {
    flex: 0;
}

.floating-sim-action-btn {
    align-self: flex-start;
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 139, 0, 0.3);
    pointer-events: none; /* Non-clickable as requested */
    flex-shrink: 0;
}

.floating-sim-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 139, 0, 0.4);
}

.floating-sim-action-btn svg {
    width: 16px;
    height: 16px;
    margin-left: 1px; /* Slight offset to center the play icon visually */
}

.floating-sim-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 6px 0;
    line-height: 1.2;
    opacity: 0.9;
}

.floating-sim-description {
    font-size: 10px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
    opacity: 0.7;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Floating Animations */
@keyframes floatTopToBottom {
    0% { 
        transform: translateY(-200px) scale(var(--card-scale, 0.8));
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    95% {
        opacity: 0.6;
    }
    100% { 
        transform: translateY(calc(100vh + 200px)) scale(var(--card-scale, 0.8));
        opacity: 0;
    }
}

@keyframes subtleRotate {
    0%, 100% { 
        transform: rotate(-2.5deg); 
    }
    50% { 
        transform: rotate(2.5deg); 
    }
}

/* Responsive adjustments for floating cards */
@media (max-width: 768px) {
    .floating-sim-card {
        width: 160px;
        height: 130px;
        padding: 14px;
        transform: scale(calc(var(--card-scale, 0.8) * 0.8));
    }
    
    .floating-sim-title {
        font-size: 11px;
    }
    
    .floating-sim-description {
        font-size: 9px;
    }
    
    .floating-sim-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 4px;
    }
    
    .floating-sim-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .floating-sim-action-btn {
        width: 28px;
        height: 28px;
    }
    
    .floating-sim-body {
        gap: 6px;
        padding-top: 2px;
    }
    
    .floating-sim-action-btn svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .floating-sim-card {
        width: 140px;
        height: 110px;
        padding: 12px;
        transform: scale(calc(var(--card-scale, 0.8) * 0.6));
    }
    
    .floating-sim-action-btn {
        width: 24px;
        height: 24px;
    }
    
    .floating-sim-body {
        gap: 4px;
        padding-top: 1px;
    }
    
    .floating-sim-action-btn svg {
        width: 10px;
        height: 10px;
    }
}