/* Estilos para el formulario de registro de Profesionista.Click */
.pc-acceso-container {    
    max-width: 520px;
    margin: 30px auto 60px auto;
    padding: 25px 35px;
    background: linear-gradient(180deg, #f9fcff, #f1f7fb);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 91, 204, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    border: 1px solid #d6e9f7;
    width: 100%;
    transition: all 0.3s ease;
}
.pc-acceso-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 91, 204, 0.25);
}
.pc-acceso-container h1 {
    color: #0F5BCC;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 700;
}
.pc-acceso-container p{
    margin-top:3em;
    font-size:.75rem;    
    color: #6c757d;
}

/* NUEVO: Contenedor de campo */
.pc-form-group {
    margin-bottom: 20px;
    text-align: left;
}
.pc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}
.pc-form-group input[type="email"],
.pc-form-group input[type="password"],
.pc-form-group select,
.pc-form-group input[type="submit"] {    
    width: 100%;
    padding: 10px;
    border: 1px solid #bcd7f5;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    color: #333;
    font-size: 15px;
    transition: border 0.3s, box-shadow 0.3s;
}
.pc-form-group input[type="email"]:focus,
.pc-form-group input[type="password"]:focus,
.pc-form-group select:focus {
    border-color: #0F5BCC;
    box-shadow: 0 0 0 3px rgba(15, 91, 204, 0.15);
    outline: none;
}

.pc-logo img {
    max-width: 150px;
    display: inline-block;
}
.pc-bienvenida {
    text-align: center;
    font-size: 1.15em;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #333;
}
.pc-accede {
    margin-top: 40px;
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-bottom: 0px;
}
.pc-accede a {
    color: #0F5BCC;
    text-decoration: none;
    font-weight: 600;
}
.pc-accede a:hover {
    text-decoration: underline;
}
.pc-error {
    background-color: #ffe6e6;
    color: #a94442;
    border: 1px solid #f5c2c7;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}
.pc-error::before {
    content: "⚠️ ";
    font-weight: bold;
    margin-right: 5px;
}
.pc-recaptcha {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;    
}
.pc-recaptcha > div {
    display: inline-block;    
}
.pc-checkbox label {
    font-size: 14px;
    color: #444;
    display: block;
    line-height: 1.5;
    cursor: pointer;
}
.pc-checkbox input[type="checkbox"] {
    margin-right: 8px;
}
.pc-checkbox a {
    color: #0F5BCC;
    text-decoration: none;
    font-weight: 600;
}
.pc-checkbox a:hover {
    text-decoration: underline;
}
.nv-page-title-wrap,
.nv-post-cover .nv-title-meta-wrap,
.nv-page-title-wrap .nv-page-title {
    display: none;
}

/* LOGIN CON GMAIL */
/* Estilos para el contenedor que centra el botón de Google */
.pc-google-button-container {
    width: 310px;
    margin: 20px auto 0;
}

/* Estilo para el separador "o" */
.pc-divider {
    text-align: center;
    margin: 25px 0;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    position: relative;
}
.pc-divider::before,
.pc-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #ccc;
}
.pc-divider::before {
    left: 0;
}
.pc-divider::after {
    right: 0;
}
.grecaptcha-badge {
    visibility: hidden;
}


/* Botón principal */
/* Estilos para el botón */
.pc-acceso-submit-button {
    background: linear-gradient(90deg, #0F5BCC, #1a73e8);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(15,91,204,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.pc-acceso-submit-button:hover {
    background: linear-gradient(90deg, #0948a6, #1559c1);
    box-shadow: 0 5px 12px rgba(15,91,204,0.4);
    transform: translateY(-1px);
}
/* NUEVO: Estilos para el botón cuando está deshabilitado (cuando carga) */
.pc-acceso-submit-button:disabled {
    background: linear-gradient(90deg, #2e75de, #7baff3); 
    cursor: not-allowed; /* Cambia el cursor a un círculo con una línea diagonal */
    box-shadow: none; /* Elimina la sombra para que se vea plano */
    transform: none; /* Evita cualquier transformación para mantenerlo estático */
    opacity: 0.7; /* Lo hace un poco transparente para reforzar que no es clicable */
}

/* NUEVO: Asegura que el hover no funcione cuando el botón está deshabilitado */
.pc-acceso-submit-button:disabled:hover {
    background: #ccc;
    box-shadow: none;
    transform: none;
}


/* Estilos del spinner */
.spinner-hidden {
    display: none;
}

.spinner-visible {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

/* Animación del spinner */
@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}


/*>>>>>>>>>>>>>>>>NUEVO*/
.pc-modal-hidden {
    display: none;
}

.pc-modal-visible {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.pc-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
    font-family: Arial, sans-serif;
}

.pc-modal-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #333;
}

.pc-modal-actions {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.pc-modal-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.cancel-button {
    background-color: #f0f0f0;
    color: #555;
}

.cancel-button:hover {
    background-color: #e0e0e0;
}

.confirm-button {
    background-color: #004c97;
    color: white;
}

.confirm-button:hover {
    background-color: #003a72;
}

.pc-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #f8f9fa; /* Un fondo gris claro para el contenedor */
}

.pc-form-help-text {
    text-align: center;
    max-width: 500px;
    width: 100%;
    padding: 1.5rem;
    background-color: #e9ecef; /* Un fondo gris medio para el mensaje */
    border-radius: 12px;
    border: 1px solid #dee2e6;
    color: #495057;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pc-form-help-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.font-bold {
    font-weight: 700;
    color: #343a40;
}

/*<<<<<<<<<<<<<<<<NUEVO*/


/* Responsive */
@media (max-width: 768px) {
    .pc-acceso-container {
        padding: 20px;
        max-width: 90%;
        border-radius: 8px;
    }
    .pc-form-group input,
    .pc-form-group select,
    .pc-form-group input[type="submit"] {
        font-size: 15px;
        padding: 10px;
    }
    .pc-bienvenida {
        font-size: 1em;
    }
    .pc-accede {
        font-size: 13px;
    }
    .pc-logo img {
        max-width: 120px;
    }
}
@media (max-width: 480px) {
    .pc-acceso-container {
        margin: 20px 0px;
        padding: 10px;
        max-width: 100%;
    }
    .pc-form-group input[type="submit"] {
        width: 100%;
    }
    .pc-bienvenida {
        font-size: 0.95em;
    }
    .pc-error {
        font-size: 14px;
    }
}