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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #5a83b8 0%, #7aa3d8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.login-box {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.logo-frame {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #6a93c8 0%, #7aa3d8 100%);
    border-radius: 15px;
    position: relative;
}

.logo-frame::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(135deg, #d4a574 0%, #c99d6a 100%);
    border-radius: 20px;
    z-index: -1;
}

.logo-title {
    font-size: 2rem;
    color: white;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 1.5rem;
    color: #e8f1fb;
    font-weight: 500;
    font-style: italic;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #6a93c8;
    box-shadow: 0 0 0 3px rgba(106, 147, 200, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.error-message {
    display: none;
    padding: 12px;
    background: #fee;
    color: #c33;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

.login-btn {
    padding: 16px;
    background: linear-gradient(135deg, #6a93c8 0%, #7aa3d8 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 147, 200, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .login-box {
        padding: 40px 30px;
    }

    .logo-title {
        font-size: 1.6rem;
    }

    .logo-subtitle {
        font-size: 1.2rem;
    }
}
