/* Authorization Page - Minimal Style */

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

/* Global */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

/* Container */
.container {
    background: #ffffff;
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Status Screen Layout */
.status-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    animation: fadeIn 0.4s ease-in-out;
}

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

/* Status Icons */
.status-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 48px;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.success-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: scaleIn 0.5s ease-in-out;
}

.failed-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: shake 0.5s ease-in-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

/* Status Text */
.status-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.status-subtitle {
    font-size: 16px;
    color: #64748b;
    font-weight: 400;
}

.status-text {
    font-size: 18px;
    color: #667eea;
    font-weight: 500;
    margin-top: 16px;
}

/* Loading Spinner */
.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 50px 30px;
        border-radius: 20px;
    }

    .status-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
        margin-bottom: 24px;
    }

    .status-title {
        font-size: 28px;
    }

    .status-subtitle {
        font-size: 15px;
    }

    .status-text {
        font-size: 16px;
    }

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

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .container {
        padding: 40px 25px;
        border-radius: 16px;
        min-height: 280px;
    }

    .status-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
        margin-bottom: 20px;
    }

    .status-title {
        font-size: 24px;
    }

    .status-subtitle {
        font-size: 14px;
    }

    .status-text {
        font-size: 15px;
    }

    .spinner {
        width: 45px;
        height: 45px;
        border-width: 3px;
    }
}
