* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #B76B9A 0%, #2D1B2E 50%, #1A1A1A 100%);
    min-height: 100vh;
    color: white;
}

.container {
    max-width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-weight: 600;
    font-size: 18px;
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.signal, .wifi {
    width: 20px;
    height: 15px;
    background: white;
    border-radius: 2px;
    position: relative;
}

.signal::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: #8E2DE2;
    right: 2px;
    top: 2px;
    border-radius: 1px;
}

.battery {
    background: white;
    color: #333;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.tabs {
    display: flex;
    margin: 40px 0 30px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.tab.active {
    color: white;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
}

.tab:not(.active) {
    color: rgba(255, 255, 255, 0.7);
}

.error-message {
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.login-form {
    margin-top: 40px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: #999;
}

.input-group input:focus {
    background: white;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8E2DE2;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: white;
    padding: 2px 0;
}

.remember-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}

.remember-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

.remember-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8E2DE2;
    font-weight: bold;
    font-size: 16px;
}

.remember-checkbox input[type="checkbox"]:not(:checked) + .checkmark {
    color: transparent;
}

.phone-operations {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.phone-operations:hover {
    background: rgba(255, 255, 255, 0.1);
}

.login-btn {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.9);
    color: #8E2DE2;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.demo-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-info h3 {
    margin-bottom: 15px;
    color: #FFE4E1;
    font-size: 16px;
}

.demo-info p {
    margin: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.demo-info strong {
    color: #FFE4E1;
}

/* Responsive adjustments */
@media (max-width: 320px) {
    .container {
        padding: 15px;
    }
    
    .remember-section {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
} 