.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

    .close-btn:hover {
        transform: scale(1.2);
    }

.photo-container {
    position: relative;
    width: 300px; /* Antes 150px */
    height: 270px; /* Aumenta también a 300px */
    border-radius: 50%;
    overflow: visible;
    margin-bottom: 2rem;
}

.photo-preview {
    width: 300px; /* Antes 150px */
    height: 300px; /* Antes 150px */
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white; /* Más grosor */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.upload-overlay {
    position: absolute;
    bottom: -24px; /* Antes -12px */
    right: -24px; /* Antes -12px */
    width: 80px; /* Antes 40px */
    height: 80px; /* Antes 40px */
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    font-size: 32px; /* Antes 16px */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .upload-overlay:hover {
        background-color: var(--primary-dark);
        transform: scale(1.05);
    }
.photo-header {
    margin-bottom: 8.5rem; /* Aumenta el espacio debajo de la imagen */
    height: 325px;
}

.photo-preview:hover {
    box-shadow: 0 0 0 6px var(--primary-light);
    transition: box-shadow 0.3s ease;
}

.info-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: left;
}

    .info-line i {
        min-width: 18px;
        text-align: center;
    }

.accordion-button {
    background-color: #f8f9fa !important;
    color: var(--text-color);
    font-weight: 600;
    border-radius: 0.5rem !important;
    transition: var(--transition);
}

    .accordion-button:not(.collapsed) {
        box-shadow: none;
        background-color: #eaeaea !important;
    }
.reconnect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.reconnect-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
    animation: pop-in 0.3s ease-in-out;
}

.reconnect-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.reconnect-text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.reconnect-subtext {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #ccc;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pop-in {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
