html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

@supports (-webkit-overflow-scrolling: touch) {
    body {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) fixed;
    }
}

/* El resto de tu CSS permanece igual */

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    max-width: 600px;
    width: 100%;
}

.search-container {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

h1 span {
    color: #ffd700;
}

.search-box {
    display: flex;
    margin-bottom: 1rem;
}

input {
    flex-grow: 1;
    padding: 1rem;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

button {
    padding: 1rem 2rem;
    background-color: #ffd700;
    color: #333;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.resultado {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: 15px;
    color: #ffffff;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.review {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.loading {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    color: #ff6b6b;
    font-weight: 600;
}

#nuevaReview {
    width: 100%;
    height: 150px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 16px;
    margin-bottom: 10px;
}

#crearReview {
    margin-top: 20px;
}

.btn {
    background-color: #ffd700;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.btn:hover {
    background-color: #ffcc00;
}

.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.conocido-container {
    margin-bottom: 15px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 5px;
}

#otroConocido {
    margin-top: 10px;
}

@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .search-box {
        flex-direction: column;
    }

    input, button {
        border-radius: 50px;
        margin-bottom: 1rem;
    }
}
/* Añadir al final del archivo styles.css */

#crearReview {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

#nuevaReview {
    width: 100%;
    height: 100px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    resize: vertical;
}

#guardarReviewBtn {
    width: 100%;
    border-radius: 50px;
}

.btn {
    padding: 0.5rem 1rem;
    background-color: #ffd700;
    color: #333;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}