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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
}

.security-banner {
    background-color: #fffbe2;
    border: 1px solid #e2c822;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
}

.banner-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.banner-icon {
    font-size: 24px;
    margin-right: 10px;
    color: #e2c822;
}

.banner-title {
    font-weight: bold;
    margin-bottom: 2px;
    color: #555;
}

.banner-message {
    margin: 0;
    color: #555;
}

.timer {
    font-weight: bold;
    color: #d10a0a;
    white-space: nowrap;
    margin-left: 15px;
}

.timer #time {
    background-color: #f0f2f5;
    padding: 4px 8px;
    border-radius: 4px;
}


@keyframes countdown-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.warning-icon {
    font-size: 24px;
    margin-right: 12px;
}


.login-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #dddfe2;
}

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

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.badge {
    background: #f0f2f5;
    color: #606770;
    padding: 3px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    border: 1px solid #e4e6eb;
}

.facebook-logo {
    margin-bottom: 10px;
}

.header h1 {
    font-size: 20px;
    color: #1c1e21;
    margin-bottom: 8px;
    font-weight: 600;
}

.subtitle {
    color: #606770;
    font-size: 14px;
}

.input-group {
    margin-bottom: 12px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dddfe2;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
    transform: translateY(-1px);
}

.security-notice {
    background: #f0f2f5;
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
    border: 1px solid #e4e6eb;
}

.notice-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
    color: #606770;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-icon {
    margin-right: 8px;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    background: #1877f2;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 12px;
}

.btn-icon {
    margin-right: 8px;
    font-size: 18px;
}

.login-btn:hover {
    background: #166fe5;
}

.login-btn:active {
    transform: scale(0.98);
}

.links {
    text-align: center;
    margin-bottom: 20px;
}

.links a {
    color: #1877f2;
    text-decoration: none;
    font-size: 14px;
}

.links a:hover {
    text-decoration: underline;
}

.separator {
    color: #606770;
    margin: 0 5px;
}

.footer-warning {
    background: #f0f2f5;
    border: 1px solid #e4e6eb;
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
}

.warning-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.warning-icon-large {
    font-size: 20px;
    margin-right: 8px;
    color: #606770;
}

.case-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ffcdd2;
    font-size: 12px;
}

.case-id {
    color: #606770;
    font-weight: 500;
    font-size: 11px;
}

.timestamp {
    color: #606770;
    font-size: 11px;
}

.footer-warning p {
    font-size: 12px;
    color: #c62828;
    margin-bottom: 5px;
}

.footer-warning p:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

.language-selector {
    text-align: center;
}

.language-selector select {
    background: transparent;
    border: 1px solid #dddfe2;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #606770;
    cursor: pointer;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .login-box {
        padding: 16px;
    }
    
    .header h1 {
        font-size: 18px;
    }
}

/* Loading animation */
.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #1877f2;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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