* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    min-height: 100vh;
    color: #FFFFFF;
    background: #0A0E27;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(26, 42, 74, 0.95));
    border: 2px solid rgba(72, 212, 228, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 0 50px rgba(72, 212, 228, 0.2);
    max-width: 400px;
    width: 90%;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.modal-title {
    color: #48d4e4;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.modal-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 300px;
}

.modal-btn {
    padding: 12px 40px;
    background: rgba(72, 212, 228, 0.2);
    border: 2px solid rgba(72, 212, 228, 0.5);
    color: #48d4e4;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: rgba(72, 212, 228, 0.4);
    box-shadow: 0 0 20px rgba(72, 212, 228, 0.5);
}

.login-modal {
    padding: 50px;
}

.login-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.login-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(72, 212, 228, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.login-input:focus {
    border-color: #40E0D0;
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.3);
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.login-submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(72, 212, 228, 0.4), rgba(168, 85, 247, 0.4));
    border: 2px solid rgba(72, 212, 228, 0.6);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.login-submit-btn:hover {
    background: linear-gradient(135deg, rgba(72, 212, 228, 0.6), rgba(168, 85, 247, 0.6));
    box-shadow: 0 0 25px rgba(72, 212, 228, 0.5);
}

.login-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login-close-btn:hover {
    color: #40E0D0;
}

.login-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 10px;
    min-height: 20px;
}

.login-register {
    margin-top: 20px;
    text-align: center;
}

.login-register span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.login-register button {
    background: none;
    border: none;
    color: #48d4e4;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-register button:hover {
    color: #40E0D0;
}