/* Effie College — pantallas de registro y login */

:root {
    --ecc-orange: #ff3b00;
    --ecc-orange-dark: #d43200;
    --ecc-black: #1a1a1a;
    --ecc-text: #2c2c2c;
    --ecc-muted: #6b6b6b;
    --ecc-line: #e6e6e6;
    --ecc-card: #ffffff;
    --ecc-texture: url("../images/effie-college-textura.jpg");
}

body.ecc-auth-page {
    background-color: #f3f3f3 !important;
    background-image: var(--ecc-texture) !important;
    background-repeat: repeat !important;
    background-size: 680px auto !important;
    overflow-x: hidden;
}

body.ecc-auth-page .elementor-location-header,
body.ecc-auth-page .elementor-location-footer {
    position: relative;
    z-index: 2;
}

.ecc-auth-shell,
html body .ecc-auth-shell {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box;
    min-height: 100vh;
    padding: 48px 20px 72px !important;
    background-color: #f4f4f4;
    background-image: var(--ecc-texture);
    background-repeat: repeat;
    background-size: 680px auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

html body .ecc-registration-container,
html body .ecc-login-container {
    max-width: 720px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    min-height: auto !important;
    display: block !important;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

html body .ecc-login-container {
    max-width: 460px !important;
}

.ecc-auth-kicker {
    margin: 0 0 8px !important;
    color: var(--ecc-orange) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.28em !important;
    text-transform: uppercase !important;
    text-align: center;
}

html body .ecc-registration-title,
html body .ecc-login-title {
    text-align: center !important;
    color: var(--ecc-black) !important;
    margin: 0 0 28px !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

html body .ecc-registration-wrapper,
html body .ecc-login-form-wrapper,
html body .ecc-registration-form-content,
html body .ecc-already-logged-in {
    background: var(--ecc-card) !important;
    padding: 36px 32px !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 59, 0, 0.12) !important;
    width: 100% !important;
    max-width: none !important;
    position: relative;
    overflow: hidden;
}

html body .ecc-registration-forms {
    background: var(--ecc-card) !important;
    padding: 36px 32px !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 59, 0, 0.12) !important;
    position: relative;
    overflow: hidden;
}

html body .ecc-registration-forms .ecc-registration-form-content {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible;
}

html body .ecc-registration-wrapper::before,
html body .ecc-login-form-wrapper::before,
html body .ecc-registration-forms::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ecc-orange);
}

html body .ecc-registration-forms .ecc-registration-form-content::before {
    display: none;
}

html body .ecc-registration-wrapper h3 {
    text-align: center !important;
    margin: 8px 0 24px !important;
    color: var(--ecc-black) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

html body .ecc-user-types {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
}

html body .ecc-user-type-card {
    background: #fff !important;
    border: 1px solid var(--ecc-line) !important;
    border-radius: 14px !important;
    padding: 22px 20px 20px !important;
    text-align: center !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html body .ecc-user-type-card:hover {
    border-color: var(--ecc-orange) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 59, 0, 0.12);
}

html body .ecc-user-type-card h4 {
    margin: 0 0 8px !important;
    color: var(--ecc-black) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

html body .ecc-user-type-card p {
    margin: 0 0 16px !important;
    color: var(--ecc-muted) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.ecc-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ecc-line);
}

.ecc-form-header h3,
#ecc-form-title {
    margin: 0 !important;
    color: var(--ecc-black) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

html body .ecc-form-section {
    margin-bottom: 28px !important;
}

html body .ecc-form-section h4 {
    color: var(--ecc-black) !important;
    margin: 0 0 18px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid var(--ecc-line) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

html body .ecc-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}

html body .ecc-form-field {
    margin-bottom: 16px !important;
}

html body .ecc-form-field label {
    display: block !important;
    margin-bottom: 7px !important;
    font-weight: 600 !important;
    color: var(--ecc-text) !important;
    font-size: 13px !important;
}

html body .ecc-form-field input,
html body .ecc-form-field select,
html body .ecc-form-field textarea,
html body .ecc-login-form input[type="email"],
html body .ecc-login-form input[type="password"] {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: var(--ecc-black) !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none !important;
}

html body .ecc-form-field input:focus,
html body .ecc-form-field select:focus,
html body .ecc-form-field textarea:focus,
html body .ecc-login-form input:focus {
    outline: none !important;
    border-color: var(--ecc-orange) !important;
    box-shadow: 0 0 0 3px rgba(255, 59, 0, 0.16) !important;
}

html body .ecc-form-field small {
    display: block;
    margin-top: 6px;
    color: var(--ecc-muted);
    font-size: 12px;
}

html body .ecc-form-actions {
    text-align: center !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding-top: 8px !important;
    border-top: none !important;
}

html body .ecc-registration-container button,
html body .ecc-registration-container .ecc-select-type-btn,
html body .ecc-registration-container .ecc-submit-btn,
html body .ecc-registration-container .ecc-back-to-selection,
html body .ecc-login-container button,
html body .ecc-login-container .ecc-submit-btn,
.elementor-widget-container .ecc-registration-container button,
.elementor-widget-container .ecc-registration-container .ecc-select-type-btn,
.elementor-widget-container .ecc-registration-container .ecc-submit-btn,
.elementor-widget-container .ecc-registration-container .ecc-back-to-selection,
.elementor-widget-container .ecc-login-container .ecc-submit-btn {
    background: var(--ecc-orange) !important;
    background-color: var(--ecc-orange) !important;
    color: #fff !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(255, 59, 0, 0.22) !important;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

html body .ecc-select-type-btn,
html body .ecc-registration-container button[data-type] {
    padding: 12px 22px !important;
    font-size: 14px !important;
    min-width: 220px !important;
    width: auto !important;
}

html body .ecc-submit-btn,
html body .ecc-form-actions .ecc-submit-btn {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    margin-top: 8px !important;
}

html body .ecc-back-to-selection {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--ecc-orange) !important;
    border: 1px solid var(--ecc-orange) !important;
    box-shadow: none !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

html body .ecc-registration-container button:hover,
html body .ecc-select-type-btn:hover,
html body .ecc-submit-btn:hover,
.elementor-widget-container .ecc-select-type-btn:hover,
.elementor-widget-container .ecc-submit-btn:hover {
    background: var(--ecc-orange-dark) !important;
    background-color: var(--ecc-orange-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

html body .ecc-back-to-selection:hover,
.elementor-widget-container .ecc-back-to-selection:hover {
    background: var(--ecc-orange) !important;
    background-color: var(--ecc-orange) !important;
    color: #fff !important;
    border-color: var(--ecc-orange) !important;
    box-shadow: none !important;
}

html body .ecc-already-logged-in {
    background: var(--ecc-card) !important;
    border: 0 !important;
    color: var(--ecc-text) !important;
    text-align: center;
}

html body .ecc-user-info {
    background: transparent !important;
    padding: 0 0 16px !important;
}

html body .ecc-user-info h3 {
    color: var(--ecc-black) !important;
}

html body .ecc-login-links {
    text-align: center !important;
    margin-top: 22px !important;
    padding-top: 0 !important;
    border-top: none !important;
}

html body .ecc-login-links a,
html body .ecc-already-logged-in a,
html body .ecc-registration-container a {
    color: var(--ecc-orange) !important;
    background: transparent !important;
    text-decoration: none !important;
}

html body .ecc-login-links a:hover,
html body .ecc-already-logged-in a:hover {
    text-decoration: underline !important;
    color: var(--ecc-orange-dark) !important;
}

html body .ecc-remember-me {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 500 !important;
    color: var(--ecc-muted) !important;
}

html body .ecc-remember-me input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
}

html body .ecc-user-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

html body .ecc-user-actions .ecc-action-btn,
html body .ecc-user-actions a.ecc-action-btn {
    background: transparent !important;
    color: var(--ecc-black) !important;
    border: 1px solid var(--ecc-orange) !important;
    border-radius: 999px !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

html body .ecc-user-actions .ecc-action-btn:hover,
html body .ecc-user-actions a.ecc-action-btn:hover {
    background: var(--ecc-orange) !important;
    color: #fff !important;
    border-color: var(--ecc-orange) !important;
    text-decoration: none !important;
}

html body .ecc-registration-success,
html body .ecc-auth-notice {
    background: #f3f8f0 !important;
    border: 1px solid #cde3c4 !important;
    color: #215c2a !important;
    padding: 20px !important;
    border-radius: 14px !important;
    text-align: center;
    margin-bottom: 18px !important;
}

html body .ecc-auth-notice p,
html body .ecc-registration-success p {
    margin: 0 !important;
}

html body .ecc-auth-notice.is-error {
    background: #fff4f0 !important;
    border-color: #ffc4b3 !important;
    color: #7a1f00 !important;
}

html body .ecc-auth-lead {
    margin: 0 0 18px !important;
    color: var(--ecc-muted) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: center;
}

body.ecc-auth-page .site-content,
body.ecc-auth-page #content,
body.ecc-auth-page .elementor-location-single,
body.ecc-auth-page .elementor-widget-shortcode,
body.ecc-auth-page .elementor-widget-text-editor,
body.ecc-auth-page .elementor-shortcode,
body.ecc-auth-page .elementor-widget-container {
    background: transparent !important;
    background-image: none !important;
}

/* Pantalla nativa de WordPress: login, recuperar y restablecer contraseña */
body.login {
    background-color: #f4f4f4 !important;
    background-image: var(--ecc-texture) !important;
    background-repeat: repeat !important;
    background-size: 680px auto !important;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif !important;
}

body.login #login {
    width: 460px;
    max-width: 94%;
    padding: 6% 0 40px;
}

body.login h1 a {
    background-image: none !important;
    background-size: auto !important;
    width: 100% !important;
    height: auto !important;
    text-indent: 0 !important;
    overflow: visible !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.28em !important;
    text-transform: uppercase !important;
    color: var(--ecc-orange) !important;
    line-height: 1.3 !important;
}

body.login form,
body.login #loginform,
body.login #lostpasswordform,
body.login #resetpassform,
body.login #registerform {
    background: #fff !important;
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 59, 0, 0.12) !important;
    padding: 36px 32px 28px !important;
    overflow: hidden;
    position: relative;
}

body.login form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ecc-orange);
}

body.login label {
    font-weight: 600 !important;
    color: var(--ecc-text) !important;
    font-size: 13px !important;
}

body.login form .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: var(--ecc-black) !important;
    background: #fff !important;
    box-shadow: none !important;
    margin-top: 7px;
}

body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
    outline: none !important;
    border-color: var(--ecc-orange) !important;
    box-shadow: 0 0 0 3px rgba(255, 59, 0, 0.16) !important;
}

body.login .wp-core-ui .button-primary,
body.login .wp-core-ui .button-primary:hover,
body.login .wp-core-ui .button-primary:focus,
body.login .wp-core-ui .button-primary:active {
    background: var(--ecc-orange) !important;
    background-color: var(--ecc-orange) !important;
    border: none !important;
    border-radius: 999px !important;
    color: #fff !important;
    text-shadow: none !important;
    box-shadow: 0 8px 18px rgba(255, 59, 0, 0.22) !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-top: 12px !important;
}

body.login .wp-core-ui .button-primary:hover,
body.login .wp-core-ui .button-primary:focus {
    background: var(--ecc-orange-dark) !important;
    background-color: var(--ecc-orange-dark) !important;
}

body.login .forgetmenot {
    float: none !important;
    margin-bottom: 8px;
}

body.login .submit {
    margin-top: 8px;
}

body.login #nav,
body.login #backtoblog {
    text-align: center !important;
    padding: 8px 0 0 !important;
}

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a,
body.login .ecc-wp-login-extra a {
    color: var(--ecc-orange) !important;
    text-decoration: none !important;
}

body.login #nav a:hover,
body.login #backtoblog a:hover,
body.login .ecc-wp-login-extra a:hover {
    color: var(--ecc-orange-dark) !important;
    text-decoration: underline !important;
}

body.login .language-switcher,
body.login #language-switcher,
body.login .privacy-policy-page-link {
    display: none !important;
}

body.login #login_error,
body.login .message,
body.login .success {
    border-radius: 14px !important;
    box-shadow: none !important;
    border-left-width: 4px !important;
}

body.login #login_error {
    border-left-color: var(--ecc-orange) !important;
}

body.login .ecc-wp-login-extra {
    text-align: center;
    margin: 16px 0 0;
    font-size: 13px;
}

body.login #resetpassform .wp-core-ui .button:not(.button-primary),
body.login .wp-generate-pw {
    background: transparent !important;
    color: var(--ecc-orange) !important;
    border: 1px solid var(--ecc-orange) !important;
    box-shadow: none !important;
    width: auto !important;
    float: none !important;
    border-radius: 999px !important;
    height: auto !important;
    padding: 10px 18px !important;
}

@media (max-width: 782px) {
    body.login #login {
        width: 100%;
        padding-top: 32px;
    }

    body.login form {
        padding: 26px 18px 22px !important;
    }
}

@media (max-width: 768px) {
    .ecc-auth-shell,
    html body .ecc-auth-shell {
        padding: 28px 14px 48px !important;
    }

    html body .ecc-registration-container,
    html body .ecc-login-container {
        max-width: 100% !important;
    }

    html body .ecc-registration-wrapper,
    html body .ecc-login-form-wrapper,
    html body .ecc-registration-form-content {
        padding: 26px 18px !important;
        border-radius: 14px !important;
    }

    html body .ecc-form-row {
        grid-template-columns: 1fr !important;
    }

    .ecc-form-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    html body .ecc-registration-title,
    html body .ecc-login-title,
    #ecc-form-title {
        font-size: 22px !important;
    }
}
