/* Modern IPB University Partnership Portal styling */
:root {
    --primary: #013880; /* IPB University main color */
    --primary-light: #2b5eaa;
    --primary-dark: #002a60;
    --secondary: #1a7ad9;
    --accent: #4fc6e1;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #6c757d;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-light: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
}

@media print {
    ::-webkit-scrollbar {
        display: none;
    }
}

.harus::after,
.harus1::after {
    content: " *";
    color: #f1556c;
}

.bahaya {
    color: #f1556c;
}

/**
 *
 * Login page v2
 * 
 */

.body__layout {
    min-height: 100vh;
}

.container__login {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 32px;
}

.container__logo {
    margin: 40px;
    text-align: center;
}

.login__layout {
    margin-right: 18px;
    padding: 32px 16px;
}

.logo__size {
    width: 240px;
}

.accordion__width {
    width: 500px;
}

.faq__container {
    margin-bottom: 24px;
    background-color: #8dd7cf;
}

.account-register__container {
    background-color: #96c3ec;
}

.faq__container,
.account-register__container {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 480px;
    height: 200px;
    padding: 42px 36px;
}

.faq__title,
.account-register__title {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    color: #334155;
}

.faq__title:hover,
.account-register__title:hover {
    text-decoration: underline;
}

.faq__icon,
.account-register__icon {
    font-size: 16px;
    margin-left: 18px;
}

.mask-square {
    width: 100%;
    aspect-ratio: 1/1;
    display: inline-block;
    border-radius: 10%;
    overflow: hidden;
}

/* ======================================================== */

.error {
    color: #f1556c;
}

.select2-container .select2-selection--single {
    height: 38px !important;
}

.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 36px !important;
}

.btn-label {
    pointer-events: none;
}

.gambar-tengah {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.pdf-tengah {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
    height: 600px;
}

.form-control {
    transition: all 0.3s ease;
    /* background-color: #fbfbfb; */
    border-color: #aaa;
    font-size: 0.85rem;
}

body.swal2-height-auto {
    height: 100% !important;
}

.btn {
    font-size: 0.85rem;
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: capitalize;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-control:hover {
    /* background-color: #eaeaea; */
}

.card {
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
    border: none;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem 1.5rem 0.75rem;
}

.login-box .card,
.register-box .card {
    padding: 20px 15px;
}

.login-box-msg {
    padding: 10px 0 0;
    text-align: left;
}

/*label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 400;
}*/
.icheck-primary label {
    font-weight: 400 !important;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: left;
    background-color: var(--light-bg);
}

/* Navbar styling */
.main-header.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Responsive navbar adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-sm);
        margin-top: 0.5rem;
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .nav-item {
        margin-bottom: 0.5rem;
    }

    .navbar-nav .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1.5rem;
        background: rgba(1, 56, 128, 0.03);
        border-radius: var(--border-radius);
        margin: 0.5rem 0;
        display: none;
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
        color: var(--text-dark);
        transition: var(--transition);
    }

    .dropdown-item:hover, .dropdown-item:focus {
        background-color: rgba(1, 56, 128, 0.05);
        color: var(--primary);
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-text {
    font-weight: 600;
    color: var(--primary) !important;
    margin-left: 0.75rem;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background-color: var(--primary);
}

.card-header h3 {
    color: #fff;
    text-align: left;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
}

.login-page {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* background-image: url("/pendaftaran/img/bg-login3.jpg"); */
    background-size: auto;
    /* background-position: center; */
    z-index: -1;
}

.website-logo {
    display: inline-block;
    position: absolute;
    z-index: 1000;
    top: 50px;
    left: 50px;
    right: initial;
    bottom: initial;
}

.login-page .website-logo {
    top: 60px;
    left: 50%;
    margin-left: -115px;
    right: initial;
    bottom: initial;
    display: inline-block;
}

.website-logo a {
    display: inline-block;
}

.website-logo .logo {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.website-logo .logo img {
    width: 230px;
}

@media (min-height: 700px) {
    .website-logo {
        position: fixed;
    }
}

@media (max-width: 992px) {
    .form-holder {
        margin-left: 0;
    }

    .website-logo {
        top: 50px;
        left: 50px;
        right: initial;
        bottom: initial;
    }
}

.page-links a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    margin-top: 20px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.page-links a.active {
    font-weight: 700;
}

.card-header.nohr {
    border-bottom: none;
}

.register-box {
    margin-top: 90px;
}

.main-footer {
    border-top: none;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    margin-top: 0;
}

.main-footer a {
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition);
}

.main-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ss_section_footer {
    background: #065fad;
    /* background-image: url(/img/bg-banner.png); */
    padding: 65px 0px 70px;
    background-size: cover;
}

.ss_section_footer p,
.ss_section_footer a,
.ss_section_footer li {
    color: #b9c2cc;
}

.ss_section_footer h2 {
    color: #fff;
    font-size: 22px;
}

.ss_section_footer ul li {
    padding-top: 10px;
    list-style: none;
}

.ss_section_footer ul {
    padding-left: 0;
    margin: 0;
}

h2.ss_foot_head {
    padding-bottom: 20px;
}

.ss_foot_sec img {
    padding-bottom: 20px;
    width: 80px;
}

.social_share li {
    display: inline-block;
    padding-top: 20px;
    margin: 0px 5px;
}

.ss_tags li a:hover {
    background: #5b86e5;
    color: #fff;
    border-color: #5b86e5;
}

.social_share li a:hover {
    background: #4646bb;
    box-shadow: 0px 0px 10px 0px rgba(68, 91, 113, 0.21);
}

.social_share li a {
    width: 39px;
    height: 39px;
    background: #3162cc;
    border-radius: 100%;
    display: block;
    text-align: center;
    line-height: 38px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
}

.social_share li a i {
    font-size: 20px;
    vertical-align: top;
    padding-right: 0px;
    padding-top: 9px;
}

.ss_section_footer i {
    font-size: 7px;
    vertical-align: top;
    padding-right: 7px;
    padding-top: 8px;
}

.ss_section_footer a:hover {
    color: #fff;
}

.social_share a:hover svg {
    fill: #5b86e5;
}

.social_share li a {
    box-shadow: none;
}

.brand-link {
    font-size: 12px;
    line-height: 2.5;
}

/*.brand-link .brand-image {
        margin-left: 0;
        margin-right: 0;
    }*/

.content-wrapper {
    padding: 0;
}

.avatar-lg {
    height: 4.5rem;
    width: 4.5rem;
}

.rounded-circle {
    border-radius: 50% !important;
}

.border {
    border: 1px solid #dee2e6 !important;
}

.bg-soft-primary {
    background-color: rgba(102, 88, 221, 0.25) !important;
}

.bg-soft-secondary {
    background-color: rgba(108, 117, 125, 0.25) !important;
}

.bg-soft-success {
    background-color: rgba(26, 188, 156, 0.25) !important;
}

.bg-soft-purple {
    background-color: rgba(102, 88, 221, 0.25) !important;
}

.bg-soft-info {
    background-color: rgba(79, 198, 225, 0.25) !important;
}

.bg-soft-warning {
    background-color: rgba(247, 184, 75, 0.25) !important;
}

.bg-soft-danger {
    background-color: rgba(241, 85, 108, 0.25) !important;
}

.bg-soft-light {
    background-color: rgba(243, 247, 249, 0.25) !important;
}

.bg-soft-dark {
    background-color: rgba(50, 58, 70, 0.25) !important;
}

.bg-soft-pink {
    background-color: rgba(246, 114, 167, 0.25) !important;
}

.bg-soft-blue {
    background-color: rgba(74, 129, 212, 0.25) !important;
}

.border-primary {
    border-color: #6658dd !important;
}

.border-secondary {
    border-color: #6c757d !important;
}

.border-success {
    border-color: #1abc9c !important;
}

.border-purple {
    border-color: #6658dd !important;
}

.border-info {
    border-color: #4fc6e1 !important;
}

.border-warning {
    border-color: #f7b84b !important;
}

.border-danger {
    border-color: #f1556c !important;
}

.border-light {
    border-color: #f3f7f9 !important;
}

.border-dark {
    border-color: #323a46 !important;
}

.border-pink {
    border-color: #f672a7 !important;
}

.border-blue {
    border-color: #4a81d4 !important;
}

.border-white {
    border-color: #fff !important;
}

.avatar-title {
    align-items: center;
    color: #fff;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/img/bg-login3.jpg');
    background-size: cover;
    opacity: 0.05;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

/* Feature Section */
.feature-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Programs Section */
.programs-section {
    padding: 5rem 1.5rem;
    background: var(--light-bg);
}

.program-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--white);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.program-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 1.5rem;
}

.program-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.program-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Contact section */
.contact-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
}

.contact-form .form-control {
    background: var(--light-bg);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(1, 56, 128, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }
}

.text-truncate {
    font-size: 13px;
    white-space: normal;
}

.font-22 {
    font-size: 22px !important;
}

.widget-rounded-circle {
    height: 130px;
}

dt {
    margin-bottom: 0.5rem !important;
}

.nav-link2 {
    background: #e5e6f3;
    color: #656695;
    margin: 0.2rem;
    transition: all 0.5s;
}

.nav-link2:hover {
    transform: translateY(-4px);
    transition: all 0.5s;
    -webkit-transform: translateY(-4px);
    -webkit-transition: all 0.5s;
}

.btn-default {
    background-color: #f3f7f9;
    border: 1px solid #f3f7f9;
    color: #323a46 !important;
    font-weight: 500;
}

.btn {
    transition: all 0.5s;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-4px);
    transition: all 0.5s;
    -webkit-transform: translateY(-4px);
    -webkit-transition: all 0.5s;
}

.nav-pills .nav-link:hover {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.container-hitung {
    color: #333;
    margin: 90px auto 0 auto;
    text-align: center;
}

#headline {
    text-transform: uppercase;
    color: #007bff;
}

.hitung > li {
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 1em;
    text-transform: uppercase;
}

.hitung > li span {
    display: block;
    font-size: 4.5rem;
}

.kotak-login {
    width: 600px;
}

@media all and (max-width: 680px) {
    .kotak-login {
        width: 100%;
    }
}

@media all and (max-width: 768px) {
    #headline {
        font-size: calc(1.5rem * var(--smaller));
    }

    .hitung > li {
        font-size: calc(1.125rem * var(--smaller));
    }

    .hitung > li span {
        font-size: calc(3.375rem * var(--smaller));
    }
}

.select2-container--default
.select2-selection--multiple
.select2-selection__choice {
    /*background-color: #007bff !important;*/
    background-color: #45cb85 !important;
}

.select2-container--default
.select2-selection--multiple
.select2-selection__choice__remove {
    color: rgba(255, 255, 255, 0.7) !important;
}

.btn__search {
    margin-top: 36px;
}

@media all and (max-width: 480px) {
    .faq__container, .account-register__container {
        width: auto;
        height: auto;
        padding: 42px 25px;
    }

    .login__layout {
        margin-right: 0;
    }
}

.pengumuman__container {
    margin-left: 40px;
    margin-right: 37px;
}

blockquote {
    border-left: 0.7rem solid #e83e6a;
    margin: 1.5em 0;
}

blockquote h1, blockquote h2, blockquote h3, blockquote h4, blockquote h5, blockquote h6 {
    color: #e83e6a;
}

.mask-circle {
    width: 100%;
    aspect-ratio: 1/1;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
}

label.error {
    margin-bottom: 0;
}

.h-100 {
    height: 100% !important;
}

.hilang {
    display: none;
}

.card-tinggi-sama {
    height: calc(100% - 1rem);
}

.btn-tengah {
    height: 34.17px;
    margin-top: auto !important;
    margin-bottom: auto !important;
}