.bebas-pustaka-wrapper {
    max-width: 1500px;
    margin: 50px auto;
    padding: -30px;
}

.bebas-pustaka-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
}

.bebas-logo {
    width: 190px;
    max-width: 100%;
    margin-bottom: 20px;
}

.bebas-logo-blu {
    width: 60px;
    max-width: 100%;
    margin-bottom: 20px;
}

.bebas-title {
    font-size: 32px;
    font-weight: bold;
    color: #04a380;
    margin-bottom: 15px;
    line-height: 1.4;
}

.bebas-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.bebas-desc-box {
    background: #f4fffc;
    border-left: 6px solid #04a380;
    padding: 25px;
    border-radius: 16px;
    text-align: left;
    margin-bottom: 30px;
}

.bebas-desc-box h3 {
    margin-top: 0;
    color: #04a380;
    font-size: 24px;
    margin-bottom: 15px;
}

.bebas-desc-box p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.bebas-desc-box ol {
    padding-left: 22px;
    margin: 0;
    color: #333;
    line-height: 1.9;
}

.bebas-desc-box li {
    margin-bottom: 10px;
}

.bebas-desc-box ol ol {
    margin-top: 10px;
    padding-left: 22px;
}

.bebas-desc-box ol ol li {
    margin-bottom: 6px;
}

.bebas-alert {
    background: #fff7e6;
    border: 1px solid #ffe58f;
    color: #8c6d1f;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.7;
}

.bebas-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.bebas-btn {
    display: inline-block;
    padding: 15px 28px;
    min-width: 260px;
    text-decoration: none;
    color: white;
    font-size: 17px;
    font-weight: bold;
    border-radius: 14px;
    background: linear-gradient(45deg, #11c5c5, #08b69f);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.bebas-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    color: white;
    text-decoration: none;
}

.bebas-btn.secondary {
    background: linear-gradient(45deg, #2f80ed, #56ccf2);
}

/* =========================
   ALERT
========================= */

.uji-alert{
    padding:15px;
    border-radius:8px;
    margin-top:15px;
    font-size:14px;
}

.uji-alert.loading{
    background:#fff3cd;
    color:#856404;
}

.uji-alert.error{
    background:#f8d7da;
    color:#721c24;
}

/* =========================
   MEMBER BOX
========================= */

.member-success-box{
    margin-top:20px;
    padding:20px;
    border-radius:12px;
    background:#f5f7fa;
    border:1px solid #dce3ea;
}

.member-success-box h4{
    margin-bottom:15px;
    color:#0d47a1;
}

.member-table{
    width:100%;
}

.member-table td{
    padding:6px 0;
    font-size:14px;
}

.status-active{
    display:inline-block;
    padding:4px 10px;
    border-radius:20px;
    background:#d4edda;
    color:#155724;
    font-size:12px;
    font-weight:bold;
}

/* =========================================
   PAGE
========================================= */

.uji-page{
    width:100%;
    padding:60px 20px;
    background:
        linear-gradient(135deg,#eef5ff 0%, #f7fbff 100%);
    min-height:100vh;
}

.uji-card{
    max-width:950px;
    margin:auto;

    background:#ffffff;

    border-radius:28px;

    padding:50px;

    box-shadow:
        0 15px 45px rgba(0,0,0,0.08);

    border:1px solid #edf2f7;
}

/* =========================================
   GLOBAL
========================================= */

body{
    font-family:'Poppins', sans-serif;
    background:#eef3f8;
}

/* =========================================
   HEADER
========================================= */

.uji-header{
    text-align:center;
    margin-bottom:45px;
}

/* LOGO */

.uji-logo{
    width:180px;
    max-width:100%;
    margin-bottom:24px;

    object-fit:contain;
}

/* TITLE */

.uji-card h2{

    font-size:36px;

    font-weight:800;

    margin:0;

    line-height:1.2;

    color:#04a380;

    letter-spacing:-1px;
}

/* =========================================
   MEMBER CHECK
========================================= */
.member-check-box{
    background:#f8fbff;
    border:1px solid #e3edf7;
    border-radius:20px;
    padding:30px;
    margin-bottom:35px;
}

.member-check-box label{
    display:block;
    font-size:15px;
    font-weight:700;
    margin-bottom:14px;
    color:#1e293b;
}

.member-check-group{
    display:flex;
    gap:14px;
    align-items:center;
}

.member-check-group input{
    flex:1;
}

/* =========================================
   INPUT
========================================= */
.member-check-group input,
.form-group input,
.form-group textarea,
.form-group select{

    width:100%;
    padding:16px 18px;

    border:1.5px solid #dbe7f3;

    border-radius:14px;

    font-size:15px;

    background:#ffffff;

    transition:all 0.25s ease;

    color:#1e293b;
}

.member-check-group input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder{
    color:#94a3b8;
}

.member-check-group input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{

    border-color:#2563eb;

    box-shadow:
        0 0 0 5px rgba(37,99,235,0.10);

    outline:none;
}

/* =========================================
   TEXTAREA
========================================= */

.form-group textarea{
    min-height:160px;
    resize:vertical;
}

/* =========================================
   BUTTON
========================================= */
#checkMember,
.submit-btn{

    border:none;

    background:
        linear-gradient(135deg,#2563eb,#1d4ed8);

    color:#ffffff;

    padding:16px 28px;

    border-radius:14px;

    cursor:pointer;

    font-size:15px;
    font-weight:700;

    transition:0.25s ease;

    min-width:120px;
}

#checkMember:hover,
.submit-btn:hover{

    transform:translateY(-2px);

    box-shadow:
        0 10px 20px rgba(37,99,235,0.20);
}

/* =========================================
   MEMBER BOX
========================================= */

.member-success-box{

    margin-top:20px;

    background:#f5f9ff;

    border:1px solid #d7e7ff;

    border-radius:16px;

    padding:25px;
}

.member-success-box h4{

    margin-bottom:20px;

    color:#1565c0;
}

/* =========================================
   FORM GROUP
========================================= */

.form-group{
    margin-bottom:28px;
}

.form-group label{
    display:block;
    margin-bottom:10px;
    font-weight:700;
    color:#334d55;
}

/* =========================================
   TABLE
========================================= */

.member-table{
    width:100%;
}

.member-table td{
    padding:8px 0;
}

/* =========================================
   STATUS
========================================= */

.status-active{

    background:#d4edda;
    color:#155724;

    padding:5px 14px;

    border-radius:30px;

    font-size:13px;
    font-weight:600;
}

/* =========================================
   SMALL TEXT
========================================= */

small{
    display:block;
    margin-top:8px;
    color:#777;
}

/* =========================================
   ALERT
========================================= */

.uji-alert{

    margin-top:20px;

    padding:18px;

    border-radius:12px;

    font-size:14px;
}

.uji-alert.error{

    background:#fdeaea;
    color:#a71d2a;
}

.uji-alert.loading{

    background:#fff8e1;
    color:#8d6e00;
}

/* =========================================
   REQUIRED
========================================= */

.required{
    color:#dc3545;
    font-weight:bold;
    margin-left:3px;
}

/* =========================================
   INVALID
========================================= */

input:invalid,
textarea:invalid,
select:invalid{

    border-color:#dc3545;

}

input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid{

    box-shadow:0 0 0 4px rgba(220,53,69,0.1);

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

    .uji-card{
        padding:28px;
        border-radius:22px;
    }

    .uji-card h2{
        font-size:30px;
        line-height:1.3;
    }

    .member-check-group{
        flex-direction:column;
    }

    #checkMember{
        width:100%;
    }

}

@media (max-width: 768px) {
    .bebas-pustaka-card {
        padding: 25px;
    }

    .bebas-title {
        font-size: 24px;
    }

    .bebas-btn {
        width: 100%;
    }

    .bebas-button-group {
        flex-direction: column;
    }
}


/* =========================================
 * PORTAL HASIL UJI PLAGIARISME
 * ========================================= */

.uji-result-wrapper{
    max-width:1000px;
    margin:50px auto;
}

.uji-result-card{
    background:#fff;
    border-radius:14px;
    padding:45px;
    box-shadow:
        0 5px 25px rgba(0,0,0,0.06);
}

.uji-result-logo{
    text-align:center;
    margin-bottom:25px;
}

.uji-result-logo img{
    max-height:95px;
}

.uji-result-title{
    text-align:center;
    margin-bottom:15px;
}

.uji-result-title h2{
    margin:0;
    font-size:38px;
    font-weight:700;
    color:#1d2b53;
}

.uji-result-desc{
    text-align:center;
    max-width:720px;
    margin:0 auto 35px;
    color:#666;
    line-height:1.9;
    font-size:16px;
}

.uji-form-box{
    margin-top:20px;
}

.uji-form-box label{
    font-weight:600;
    margin-bottom:10px;
}

.uji-form-box .form-control{
    height:52px;
    border-radius:10px;
    font-size:16px;
}

.uji-btn-submit{
    margin-top:15px;
    min-width:170px;
    height:48px;
    border-radius:10px;
    font-size:16px;
    font-weight:600;
}

/* =========================================
 * TABLE RESULT
 * ========================================= */

.uji-result-table{
    margin-top:25px;
}

.uji-result-table th{
    width:30%;
    background:#f7f7f7;
}

.uji-result-action{
    margin-top:25px;
}

/* =========================================
 * MOBILE
 * ========================================= */

@media (max-width:768px){

    .uji-result-card{
        padding:25px;
    }

    .uji-result-title h2{
        font-size:28px;
    }

}

/* =========================================
 * HISTORY PAGE
 * ========================================= */

.uji-history-title{
    font-size:44px;
    font-weight:700;
    color:#111827;
    margin-bottom:35px;
    letter-spacing:-1px;
    line-height:1.2;
}

.uji-history-card{
    background:#ffffff;
    border-radius:24px;
    padding:32px;
    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.06);
    border:1px solid #eef2f7;
}

/* =========================================
 * SEARCH
 * ========================================= */

.uji-history-search{
    display:flex;
    gap:14px;
    margin-bottom:22px;
    align-items:center;
}

.uji-history-search .form-control{
    height:54px;
    border-radius:14px;
    border:1px solid #dbe3ec;
    font-size:15px;
    padding:0 18px;
    box-shadow:none !important;
    transition:0.2s ease;
}

.uji-history-search .form-control:focus{
    border-color:#2563eb;
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.08) !important;
}

/* =========================================
 * FILTER
 * ========================================= */

.uji-history-filter{
    display:flex;
    gap:14px;
    align-items:center;
    margin-bottom:32px;
    flex-wrap:wrap;
}

.uji-history-filter .form-control{
    height:50px;
    min-width:240px;
    border-radius:14px;
    border:1px solid #dbe3ec;
    padding:0 16px;
    box-shadow:none !important;
}

.uji-history-filter .form-control:focus{
    border-color:#2563eb;
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.08) !important;
}

/* =========================================
 * BUTTON
 * ========================================= */

.uji-history-btn{
    height:50px;
    padding:0 24px !important;
    border:none !important;
    border-radius:14px !important;
    font-size:14px;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    transition:all 0.2s ease;
    box-shadow:none !important;
}

.uji-history-btn:hover{
    transform:translateY(-1px);
    opacity:0.95;
}

.uji-btn-search{
    background:#2563eb !important;
    color:#ffffff !important;
}

.uji-btn-filter{
    background:#16a34a !important;
    color:#ffffff !important;
}

.uji-btn-reset{
    background:#6b7280 !important;
    color:#ffffff !important;
}

.uji-btn-download{
    background:#f59e0b !important;
    color:#ffffff !important;
}

/* =========================================
 * TABLE
 * ========================================= */

.uji-history-table{
    width:100%;
    overflow-x:auto;
    border-radius:18px;
    border:1px solid #eef2f7;
}

.uji-history-table table{
    width:100%;
    margin-bottom:0;
    background:#ffffff;
    border-collapse:collapse;
}

.uji-history-table thead{
    background:#f8fafc;
}

.uji-history-table thead th{
    padding:18px 16px !important;
    border:none !important;
    font-size:14px;
    font-weight:700;
    color:#374151;
    white-space:nowrap;
}

.uji-history-table tbody td{
    padding:18px 16px !important;
    vertical-align:middle !important;
    border-top:1px solid #f1f5f9 !important;
    color:#374151;
    font-size:14px;
}

.uji-history-table tbody tr{
    transition:0.2s ease;
}

.uji-history-table tbody tr:hover{
    background:#f9fafb;
}

/* =========================================
 * STATUS
 * ========================================= */

.uji-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:90px;
    padding:7px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.3px;
}

.uji-status-success{
    background:#dcfce7;
    color:#166534;
}

/* =========================================
 * RESPONSIVE
 * ========================================= */

@media (max-width:768px){

    .uji-history-title{
        font-size:32px;
    }

    .uji-history-card{
        padding:22px;
    }

    .uji-history-search{
        flex-direction:column;
        align-items:stretch;
    }

    .uji-history-filter{
        flex-direction:column;
        align-items:stretch;
    }

    .uji-history-btn{
        width:100%;
    }

}