/* ============================================
   MASTERCLASS PLATFORM - Estilos principales
   Marca: blanco, negro, rojo #be1313
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---- PÁGINA DE PAGO ---- */

.mcp-pago-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 40px 20px;
}

.mcp-pago-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 48px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.mcp-pago-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #111111;
    margin-bottom: 12px;
}

.mcp-precio {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #be1313;
    font-weight: 700;
    margin: 20px 0;
}

.mcp-pago-box input[type="text"],
.mcp-pago-box input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 12px;
    border: 1px solid #cccccc;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #111111;
    outline: none;
    transition: border 0.2s;
}

.mcp-pago-box input:focus {
    border-color: #be1313;
}

#stripe-card-element {
    border: 1px solid #cccccc;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: #ffffff;
}

#mcp-pagar-btn {
    width: 100%;
    background: #be1313;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.5px;
}

#mcp-pagar-btn:hover {
    background: #a01010;
}

#mcp-pagar-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.mcp-seguro {
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #888888;
}

#mcp-mensaje {
    padding: 12px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

#mcp-mensaje.error {
    background: #fff0f0;
    color: #be1313;
    border: 1px solid #be1313;
}

#mcp-mensaje.exito {
    background: #f0fff4;
    color: #1a7a3a;
    border: 1px solid #1a7a3a;
}

/* ---- ZONA PRIVADA ---- */

.mcp-zona-privada {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
}

.mcp-bienvenida {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #111111;
    padding-bottom: 16px;
    margin-bottom: 40px;
}

.mcp-bienvenida p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #111111;
}

.mcp-logout {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #888888;
    text-decoration: none;
    border-bottom: 1px solid #888888;
}

.mcp-logout:hover {
    color: #be1313;
    border-color: #be1313;
}

.mcp-modulo {
    margin-bottom: 48px;
}

.mcp-modulo-header {
    margin-bottom: 24px;
}

.mcp-modulo-numero {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #be1313;
}

.mcp-modulo-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #111111;
    margin-top: 6px;
}

.mcp-modulo-header p {
    color: #555555;
    font-size: 15px;
    margin-top: 8px;
    line-height: 1.6;
}

.mcp-leccion {
    border-top: 1px solid #e0e0e0;
    padding: 24px 0;
}

.mcp-leccion h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #111111;
    margin-bottom: 16px;
}

.mcp-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #111111;
    margin-bottom: 16px;
}

.mcp-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mcp-leccion p {
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
}

/* ---- LOGIN ---- */

.mcp-login-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.mcp-login-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 48px;
    max-width: 400px;
    width: 100%;
}

.mcp-login-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #111111;
    margin-bottom: 24px;
    text-align: center;
}

.mcp-login-box .login-username label,
.mcp-login-box .login-password label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mcp-login-box input[type="text"],
.mcp-login-box input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    margin-top: 6px;
    margin-bottom: 16px;
    outline: none;
}

.mcp-login-box input[type="text"]:focus,
.mcp-login-box input[type="password"]:focus {
    border-color: #be1313;
}

.mcp-login-box input[type="submit"] {
    width: 100%;
    background: #111111;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.mcp-login-box input[type="submit"]:hover {
    background: #be1313;
}

/* ---- SIN ACCESO ---- */

.mcp-sin-acceso {
    text-align: center;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
}

.mcp-sin-acceso a {
    color: #be1313;
    text-decoration: none;
    border-bottom: 1px solid #be1313;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 600px) {
    .mcp-pago-box,
    .mcp-login-box {
        padding: 28px 20px;
    }

    .mcp-precio {
        font-size: 36px;
    }

    .mcp-bienvenida {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}