/* Reset básico */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: url('../img/fondo.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #fff;
    padding: 15px;
}

.container {
    background: rgba(0, 0, 0, 0.85);
    padding: 30px 35px 40px 35px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    max-width: 180px;
    height: auto;
    width: 100%;
    max-height: 100px;
    object-fit: contain;
}

h2 {
    margin-bottom: 20px;
    color: #eee;
    font-weight: 700;
    font-size: 1.8rem;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #ccc;
    text-align: left;
    font-size: 1rem;
}

input[type="text"], textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 18px;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 1rem;
    background: #222;
    color: #eee;
    resize: vertical;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, textarea:focus {
    border-color: #aaa;
    outline: none;
    background: #111;
}

input[type="submit"] {
    width: 100%;
    background: #000;
    color: #fff;
    font-weight: bold;
    border: 1px solid #666;
    padding: 12px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

input[type="submit"]:hover {
    background: #333;
    color: #fff;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 480px) {
    .container {
        padding: 20px 20px 30px 20px;
        max-width: 100%;
    }
    h2 {
        font-size: 1.5rem;
    }
    input[type="text"], textarea {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
    label {
        font-size: 0.9rem;
    }
    input[type="submit"] {
        font-size: 1rem;
        padding: 10px;
    }
}
