/* 
   ABC Auth Modern Redesign
   Style: SaaS Dashboard / Elsevier / MDPI
   Color: Modern Maroon #b40000
*/

:root {
    --primary: #1689fe;
    --primary-hover: #1477fe;
    --primary-light: #fff5f5;
    --primary-grad: linear-gradient(135deg, #1689fe 0%, #1477fe 100%);
    --primary-dark: #1477fe;
    --bg-main: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --input-focus: rgba(180, 0, 0, 0.1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 45px rgba(180, 0, 0, 0.12);
    --radius-lg: 20px;
    --radius-md: 12px;
    /* BEM navbar variables (matches homepage.css) */
    --red: #1689fe;
    --red-dk: #1477fe;
    --red-pale: #FDF2F2;
    --dark: #1A1A2E;
    --dark-60: #4A4A6A;
    --white: #FFFFFF;
    --border: #ECECEC;
    --muted: rgba(26, 26, 46, .50);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --radius: 12px;
    --radius-sm: 6px;
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .14);
    --container: 1280px;
}

/* OJS Core UI Reset for Auth Pages */
.pkp_page_login .pkp_structure_head,
.pkp_op_register .pkp_structure_head,
.pkp_op_lostPassword .pkp_structure_head,
.pkp_page_login .pkp_breadcrumbs,
.pkp_op_register .pkp_breadcrumbs,
.pkp_op_lostPassword .pkp_breadcrumbs {
    display: none !important;
}

.pkp_page_login .pkp_structure_content,
.pkp_op_register .pkp_structure_content,
.pkp_op_lostPassword .pkp_structure_content,
.pkp_page_login .pkp_structure_main,
.pkp_op_register .pkp_structure_main,
.pkp_op_lostPassword .pkp_structure_main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
}

body.pkp_page_login,
body.pkp_op_register,
body.pkp_op_lostPassword {
    background-color: var(--bg-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
}

.abc-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.abc-auth-wrapper {
    width: 100%;
    max-width: 1100px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow-soft);
    min-height: 650px;
}

/* Left Side Panel */
.abc-auth-side-info {
    flex: 1;
    background: var(--primary-grad);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 60px;
    display: flex;
    flex-direction: column;
}

/* Abstract Shapes */
.abc-auth-shapes .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
    border: 20px solid rgba(255, 255, 255, 0.03);
    background: transparent !important;
}

.abc-auth-side-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.abc-auth-brand-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.abc-auth-logo-img {
    height: 50px;
    width: auto;
}

.abc-auth-logo-placeholder {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.abc-auth-brand-text {
    display: flex;
    flex-direction: column;
}

.abc-brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.abc-brand-tagline {
    font-size: 13px;
    opacity: 0.7;
}

.abc-auth-hero-section {
    margin-bottom: 50px;
}

.abc-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.abc-hero-subtitle {
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 400px;
}

.abc-auth-features-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.abc-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.abc-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.abc-feature-text {
    display: flex;
    flex-direction: column;
}

.abc-feature-text strong {
    font-size: 15px;
    margin-bottom: 2px;
}

.abc-feature-text span {
    font-size: 13px;
    opacity: 0.7;
}

.abc-auth-side-footer {
    margin-top: auto;
    font-size: 12px;
    opacity: 0.6;
}

/* Right Side Main Form */
.abc-auth-main-form,
.abc-auth-main-form--scroll {
    flex: 0 0 480px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abc-login-card {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.abc-login-header {
    margin-bottom: 35px;
}

.abc-login-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.abc-login-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Alerts */
.abc-alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.abc-alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
}

.abc-alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

/* Form Elements */
.abc-modern-form .abc-form-group {
    margin-bottom: 22px;
}

.abc-modern-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.abc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.abc-forgot-link {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.abc-forgot-link:hover {
    text-decoration: underline;
}

.abc-input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.abc-input-field i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.abc-input-field input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all 0.2s ease;
    outline: none;
    background: #ffffff;
}

.abc-input-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--input-focus);
}

.abc-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abc-password-toggle:hover {
    color: var(--text-main);
}

/* Custom Checkbox */
.abc-form-options {
    margin-bottom: 30px;
}

.abc-checkbox-modern {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: var(--text-muted);
}

.abc-checkbox-modern input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.abc-checkbox-modern:hover input~.checkmark {
    border-color: var(--primary);
}

.abc-checkbox-modern input:checked~.checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.abc-checkbox-modern input:checked~.checkmark:after {
    display: block;
}

.abc-checkbox-modern .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Submit Button */
.abc-btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-grad);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(180, 0, 0, 0.2);
}

.abc-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    filter: brightness(1.1);
}

.abc-btn-submit:active {
    transform: translateY(0);
}

.abc-register-prompt {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.abc-register-prompt a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.abc-register-prompt a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .abc-auth-wrapper {
        max-width: 900px;
        min-height: auto;
    }

    .abc-auth-side-info {
        padding: 40px;
    }

    .abc-auth-main-form,
    .abc-auth-main-form--scroll {
        flex: 0 0 420px;
        padding: 40px !important;
    }

    .abc-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 820px) {
    .abc-auth-wrapper {
        flex-direction: column;
        max-width: 500px;
        height: auto !important;
    }

    .abc-auth-side-info {
        padding: 40px 30px;
        flex: none;
    }

    .abc-auth-main-form,
    .abc-auth-main-form--scroll {
        flex: none !important;
        padding: 40px 30px !important;
        min-width: 0 !important;
    }

    .abc-auth-hero-section {
        margin-bottom: 20px;
    }

    .abc-auth-features-modern {
        display: none;
    }

    .abc-auth-brand-modern {
        margin-bottom: 30px;
    }

    .abc-hero-title {
        font-size: 28px;
    }

    .abc-hero-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .abc-auth-container {
        padding: 10px;
    }

    .abc-auth-wrapper {
        border-radius: 15px;
    }

    .abc-auth-side-info {
        padding: 30px 20px;
    }

    .abc-auth-main-form,
    .abc-auth-main-form--scroll {
        padding: 30px 20px !important;
    }

    .abc-hero-title {
        font-size: 24px;
    }

    .abc-login-header h2 {
        font-size: 24px;
    }
}

/* ══ NAVBAR (BEM — matches homepage.css) ══ */
.abc-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s ease;
}

.abc-navbar--scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.abc-navbar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.abc-navbar__brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.abc-navbar__brand a {
    text-decoration: none;
}

.abc-navbar__logo {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.abc-navbar__logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.abc-navbar__logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--red-dk), var(--red));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    text-transform: uppercase;
}

.abc-navbar__logo-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.abc-navbar__logo-label strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -.2px;
}

.abc-navbar__logo-label span {
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: .5px;
}

/* Nav links */
.abc-navbar__nav {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.abc-navbar__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-60);
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    transition: color .15s, background .15s;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    text-decoration: none;
}

.abc-navbar__link:hover {
    color: var(--red);
    background: var(--red-pale);
}

.abc-navbar__link--has-sub svg {
    transition: transform .2s;
}

.abc-navbar__dropdown-wrap {
    position: relative;
}

.abc-navbar__dropdown-wrap:hover .abc-navbar__link--has-sub svg {
    transform: rotate(180deg);
}

.abc-navbar__sub {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 200;
}

.abc-navbar__sub::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.abc-navbar__dropdown-wrap:hover .abc-navbar__sub,
.abc-navbar__sub--open {
    display: block;
}

.abc-navbar__sub-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--dark-60);
    transition: all .15s;
    text-decoration: none;
}

.abc-navbar__sub-item:hover {
    background: var(--red-pale);
    color: var(--red);
}

.abc-navbar__sub-abbr {
    flex-shrink: 0;
    width: 36px;
    height: 28px;
    background: linear-gradient(135deg, var(--red-dk), var(--red));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

/* Right side */
.abc-navbar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}


.abc-navbar__btn {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
}

.abc-navbar__btn--outline {
    border-color: var(--border);
    color: var(--dark);
    background: transparent;
}

.abc-navbar__btn--outline:hover {
    border-color: var(--red);
    color: var(--red);
    background: var(--red-pale);
}

.abc-navbar__btn--solid {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(166, 27, 27, .22);
}

.abc-navbar__btn--solid:hover {
    background: var(--red-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(166, 27, 27, .35);
    color: var(--white) !important;
}

/* User dropdown */
.abc-usernav {
    position: relative;
}

.abc-usernav__name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
    user-select: none;
}

.abc-usernav__name:hover {
    border-color: var(--red);
    color: var(--red);
    background: var(--red-pale);
}

.abc-usernav__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 500;
}

.abc-usernav__dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.abc-usernav:hover .abc-usernav__dropdown {
    display: block;
}

.abc-usernav__dropdown a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--dark-60);
    border-radius: 7px;
    transition: all .15s;
    text-decoration: none;
}

.abc-usernav__dropdown a:hover {
    background: var(--red-pale);
    color: var(--red);
}

.abc-usernav__sep {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.abc-usernav__out:hover {
    background: #FFF0F0 !important;
    color: var(--red-dk) !important;
}

/* Mobile hamburger */
.abc-navbar__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.abc-navbar__menu-btn span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: all .3s;
}

.abc-navbar__menu-btn--open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.abc-navbar__menu-btn--open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.abc-navbar__menu-btn--open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.abc-navbar__mobile {
    display: none;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.abc-navbar__mobile--open {
    display: block;
}

.abc-navbar__mobile a {
    display: block;
    padding: 11px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark-60);
    border-bottom: 1px solid var(--border);
    transition: color .15s;
    text-decoration: none;
}

.abc-navbar__mobile a:last-of-type {
    border-bottom: none;
}

.abc-navbar__mobile a:hover {
    color: var(--red);
}

.abc-navbar__mobile-auth {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.abc-navbar__mobile-auth .abc-navbar__btn {
    flex: 1;
    justify-content: center;
}

/* Mobile drawer link items */
.abc-navbar__mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark-60);
    border-bottom: 1px solid var(--border);
    transition: color .15s;
    text-decoration: none;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
}

.abc-navbar__mobile-link:last-of-type {
    border-bottom: none;
}

.abc-navbar__mobile-link:hover {
    color: var(--red);
}

.abc-navbar__mobile-acc {
    border-bottom: 1px solid var(--border);
}

.abc-navbar__mobile-chevron {
    transition: transform .2s;
    flex-shrink: 0;
}

/* Mobile sub-list (journal accordion) */
.abc-navbar__mobile-sub {
    padding: 4px 0 4px 12px;
    border-bottom: 1px solid var(--border);
}

.abc-navbar__mobile-sub-link {
    display: block;
    padding: 9px 0;
    font-size: 12.5px;
    color: var(--dark-60);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color .15s;
}

.abc-navbar__mobile-sub-link:last-child {
    border-bottom: none;
}

.abc-navbar__mobile-sub-link:hover {
    color: var(--red);
}

/* ══ RESET & FULL WIDTH FIX ══ */
.pkp_structure_page {
    padding: 0 !important;
}

.pkp_structure_main::before,
.pkp_structure_main::after {
    display: none !important;
}

.pkp_brand_footer,
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
    display: none !important;
}

.abc-footer {
    background: linear-gradient(150deg, var(--red-dk) 0%, #1c6de7 100%);
    padding: 4rem 2rem 0;
    color: rgba(255, 255, 255, .72);
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0;
}

.abc-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.abc-footer__brand,
.abc-footer__col {
    min-width: 0;
    overflow: hidden;
}

.abc-footer__logo {
    display: block;
    margin-bottom: 1rem;
}

.abc-footer__logo img {
    filter: brightness(0) invert(1);
}

.abc-footer__logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, .14);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.abc-footer__tagline {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    margin-bottom: .75rem;
}

.abc-footer__tagline small {
    font-size: 11px;
    color: rgba(255, 255, 255, .45);
    font-weight: 400;
}

.abc-footer__about {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.abc-footer__social {
    display: flex;
    gap: 8px;
}

.abc-footer__social-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .58);
    transition: all .2s;
    text-decoration: none;
}

.abc-footer__social-link:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
    transform: translateY(-2px);
}

.abc-footer__col-title {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .88);
    margin: 0 0 1.25rem;
}

.abc-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.abc-footer__links li {
    margin-bottom: 9px;
}

.abc-footer__links a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .52);
    text-decoration: none;
    transition: color .15s, padding-left .15s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.abc-footer__links a:hover {
    color: #fff;
    padding-left: 3px;
}

.abc-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.abc-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .52);
    line-height: 1.65;
    margin-bottom: 13px;
}

.abc-footer__contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: .8;
}

.abc-footer__contact a {
    color: inherit;
    text-decoration: none;
}

.abc-footer__contact a:hover {
    text-decoration: underline;
    opacity: 1;
}

.abc-footer__maps {
    margin-top: 14px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    line-height: 0;
    max-width: 100%;
}

.abc-footer__maps iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 250px !important;
    border: 0 !important;
    display: block;
}

.abc-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.abc-footer__bottom p {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .35);
    margin: 0;
}

.abc-footer__credit {
    text-align: right;
}

/* Mobile Responsiveness for Navbar & Footer */
@media (max-width: 992px) {
    .abc-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 900px) {

    /* Hide desktop nav links, show hamburger */
    .abc-navbar__nav {
        display: none;
    }

    .abc-navbar__menu-btn {
        display: flex;
    }

    /* Compact auth buttons so they fit next to hamburger */
    .abc-navbar__btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Compact user nav name */
    .abc-usernav__name {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Hide logo sub-label on very small screens */
    .abc-navbar__logo-label span {
        display: none;
    }
}

@media (max-width: 768px) {
    .abc-navbar__inner {
        padding: 0 1.25rem;
    }

    .abc-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .abc-footer__bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .abc-footer__credit {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .abc-navbar__inner {
        padding: 0 1rem;
    }
}

/* ══ REGISTRATION SPECIFIC STYLES ══ */
.abc-auth-wrapper--register {
    max-width: 1300px;
    height: 90vh;
}

.abc-auth-main-form--scroll {
    overflow-y: auto;
    display: block !important;
    min-width: 550px;
}

.abc-reg-card-wide {
    max-width: 800px;
    margin: 0 auto;
}

/* OJS Core Registration Form Styling */
.abc-register-form fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px;
}

.abc-register-form fieldset legend {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
    width: 100%;
}

.abc-register-form .fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.abc-reg-additional-section .fields {
    grid-template-columns: 1fr;
}

/* Full width fields */
.abc-register-form .affiliation,
.abc-register-form .country,
.abc-register-form .email,
.abc-register-form .user_group,
.abc-register-form .privacy_consent,
.abc-register-form .interests {
    grid-column: 1 / -1;
}

.abc-register-form .label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.abc-register-form .required {
    color: var(--primary);
    margin-left: 3px;
}

.abc-register-form input[type="text"],
.abc-register-form input[type="email"],
.abc-register-form input[type="password"],
.abc-register-form select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.abc-register-form input:focus,
.abc-register-form select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px var(--input-focus) !important;
}

.abc-register-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/xml' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-no-repeat !important;
    background-position: right 15px center !important;
    padding-right: 45px !important;
    cursor: pointer;
}

/* Section Titles */
.abc-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.abc-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.abc-sub-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
}

/* Reviewer Prompt Box */
.abc-reviewer-prompt-box {
    background: var(--bg-main);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-top: 25px;
}

.abc-reviewer-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.abc-field-interests {
    margin-top: 20px;
}

.abc-recaptcha-wrap {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.abc-reg-btn-wrap {
    margin-top: 40px;
}

/* Scrollbar Styling for Register Form */
.abc-auth-main-form--scroll::-webkit-scrollbar {
    width: 6px;
}

.abc-auth-main-form--scroll::-webkit-scrollbar-track {
    background: transparent;
}

.abc-auth-main-form--scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.abc-auth-main-form--scroll::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

@media (max-width: 820px) {
    .abc-auth-wrapper--register {
        height: auto;
    }

    .abc-auth-main-form--scroll {
        overflow-y: visible;
        padding: 30px 20px;
    }

    .abc-register-form .fields {
        grid-template-columns: 1fr;
    }
}