* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #e6e6fa 0%, #d3cce3 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

header {
    width: 100%;
    padding: 24px;
    background-color: #6a5acd;
    color: white;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.container {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-size: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6a5acd;
    box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.1);
}

.btn {
    display: block;
    margin: 24px auto 0;
    width: 60%;
    padding: 12px;
    background-color: #6a5acd;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #5b4cb8;
    transform: scale(1.02);
}

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

.note {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}

.error {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 6px;
    min-height: 20px;
    text-align: left;
}

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

    header {
        padding: 20px;
        font-size: 22px;
    }

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

    h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input {
        padding: 10px;
        font-size: 15px;
    }

    .btn {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    .note {
        font-size: 13px;
    }

    .error {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    header {
        padding: 16px;
        font-size: 20px;
    }

    .container {
        padding: 20px;
    }

    h2 {
        font-size: 22px;
    }

    .form-group input {
        padding: 8px;
    }

    .btn {
        padding: 10px;
    }
}