/* =========================================================
   OGC Core - Estilos generales del plugin
   ========================================================= */

/* Botón Google */
.ogc-google-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #fff;
    color: #222;
    border: 1px solid #dadce0;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.ogc-google-login-btn:hover {
    color: #222;
    text-decoration: none;
}

.ogc-google-login-icon {
    font-weight: 700;
    color: #4285f4;
}

/* Pantalla de login del shortcode [STUDENT] */
.ogc-login-wrap {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-radius: 24px;
}

.ogc-login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px 34px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    text-align: center;
}

.ogc-login-card h3 {
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 800;
    color: #14532d !important;
}

.ogc-login-card .ogc-subtitle {
    color: #4b5563 !important;
    margin-bottom: 25px;
    font-size: 15px;
}

.ogc-login-card label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #14532d !important;
    margin-bottom: 6px;
}

.ogc-login-card input[type="text"],
.ogc-login-card input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #f9fafb !important;
    color: #111827 !important;
    font-size: 15px;
    -webkit-text-fill-color: #111827;
    transition: all .2s ease;
}

.ogc-login-card input[type="text"]:focus,
.ogc-login-card input[type="password"]:focus {
    outline: none;
    border-color: #16a34a;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}

.ogc-login-card input:-webkit-autofill {
    -webkit-text-fill-color: #111827 !important;
    box-shadow: 0 0 0 1000px #f9fafb inset !important;
}

.ogc-login-card .login-remember {
    display: none;
}

.ogc-login-card input[type="submit"] {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #166534, #22c55e) !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(22,163,74,.25);
    transition: all .2s ease;
}

.ogc-login-card input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(22,163,74,.35);
}

.ogc-login-divider {
    margin: 18px 0 12px;
    font-size: 13px;
    color: #6b7280 !important;
}

.ogc-google-login-wrap {
    margin-bottom: 6px;
}

.ogc-login-card .ogc-google-login-btn {
    width: 100%;
    box-sizing: border-box;
}

.ogc-login-extra {
    margin-top: 18px;
    font-size: 14px;
}

.ogc-login-extra a {
    color: #16a34a;
    font-weight: 600;
    text-decoration: none;
}

.ogc-login-extra a:hover {
    text-decoration: underline;
}

.ogc-security {
    margin-top: 20px;
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 480px) {
    .ogc-login-wrap {
        padding: 35px 14px;
        border-radius: 18px;
    }

    .ogc-login-card {
        padding: 32px 24px;
    }

    .ogc-login-card h3 {
        font-size: 25px;
    }
}

/* Últimos test WatuPRO */
.ogc-ultimos-tests {
    display: grid;
    gap: 12px;
}

.ogc-test-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ogc-test-meta {
    font-size: 14px;
    color: #4b5563;
}

/* =========================================================
   Tarjetas miembros BuddyPress
   ========================================================= */

body.members #members-list li.item-entry .list-wrap {
	border-radius: 12px;
    min-height: 240px !important;
    position: relative;
    padding-top: 80px !important;
    padding-bottom: 5px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

body.members #members-list li.item-entry .ogc-member-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 110px;
    margin: 0 !important;
    background-size: cover;
    background-position: center;
}

/* Avatar superpuesto */
body.members #members-list li.item-entry .item-avatar {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    text-align: center;
}

/* Imagen avatar */
body.members #members-list li.item-entry .item-avatar img {
    width: 100px;
    height: 100px;
    border: 3px solid #fff;
    background: #fff;
    object-fit: cover;
}

/* Nombre usuario */
body.members #members-list li.item-entry .member-name {
    padding-bottom: 0;
}
body.members #members-list li.item-entry .member-name a {
    font-size: 16px;
    font-weight: 700;
    color: #6b7280;
}
body.members #members-list li.item-entry .member-name a:hover {
    color: #111827;
}
body.members #members-list li.item-entry .member-name a::after {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    background: #34c759;
    color: #fff;
    font-size: 11px;
    font-weight: 1000;
    vertical-align: middle;
}

/* Puntuación */
body.members .ogc-member-stats {
    position: absolute;
    left: 12px;
    right: 12px;
	bottom: 12px;
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

body.members .ogc-stat-pill {
    display: inline-flex;
    align-items: center;
    padding: 0 5px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

body.members .ogc-stat-level {
    width: 100%;
    text-align: center;
    margin-top: 6px;
}

body.members .ogc-stat-level span,
body.members .ogc-stat-level {
    display: inline-block;
    background: #e5e7eb;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #374151;
}

/* =========================================================
   Swipe WatuPRO
   ========================================================= */

#watupro_quiz {
    touch-action: pan-y;
}

/* =========================================================
   Avatar usuario shortcode [avatar_usuario]
   ========================================================= */

.avatar {
    border-radius: 25%;
}

.ogc-avatar img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.ogc-avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

