* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    background: linear-gradient(135deg, #111, #1b1b1b);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card {
    width: 100%;
    max-width: 560px;
    background: #1f1f1f;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #00c896;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-weight: 600;
    color: #ddd;
}

input,
select,
button {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #333;
    background: #2a2a2a;
    color: #fff;
    font-size: 15px;
}

input:focus,
select:focus {
    outline: none;
    border-color: #00c896;
    box-shadow: 0 0 0 2px rgba(0, 200, 150, 0.2);
}

.preview {
    margin-top: 8px;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #444;
    display: none;
}

button {
    margin-top: 10px;
    background: linear-gradient(45deg, #00c896, #00e0a8, #00c896);
    background-size: 200%;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
    border: none;
}

button:hover {
    background-position: right;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(0, 200, 150, 0.4);
}

.volver {
    display: inline-block;
    margin-top: 15px;
    color: #00c896;
    text-decoration: none;
    font-weight: 600;
}

.volver:hover {
    text-decoration: underline;
}
