/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
}

body {
    background: linear-gradient(135deg, #85a4e8 0%, #53b6ae 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: #ebfcff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 500px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

.form-section {
    margin: 25px 0;
    padding: 25px;
    border: 2px solid #ede9ef;
    border-radius: 10px;
    background: #e3eef3;
}

h2 {
    color: #243340;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin: 15px 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #495057;
}

input {
    width: 100%;
    padding: 12px;
    border: 2px solid #b5c6d5;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #68c1e1;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}

button {
    background: #68c1e1;
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}

button:hover {
    background: #68c1e1;
    transform: translateY(-2px);
}

.result {
    margin: 15px 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.success {
    color: #0f5132;
    background: #d1e7dd;
    border: 1px solid #badbcc;
}

.error {
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
}

.loading {
    color: #419cbd;
    background: #cfe2ff;
    border: 1px solid #b6d4fe;
}

/* Responsive para móviles */
@media (max-width: 600px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    .form-section {
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }
}