/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #050505;
    color: #fff;
    overflow-x: hidden;
}


/* ==========================================
   SIDEBAR
========================================== */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #111111;
    border-right: 1px solid #222;
    padding: 30px 20px;
    z-index: 1000;
    overflow-y: auto;
    transition: .35s;
}


/* ==========================================
   LOGO
========================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
}

.logo-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #0B5ED7;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #D4AF37;
}

.logo-text h2 {
    color: #fff;
    font-size: 18px;
}

.logo-text p {
    color: #D4AF37;
    font-size: 12px;
    margin-top: 3px;
}


/* ==========================================
   SIDEBAR MENU
========================================== */

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 12px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #ddd;
    transition: .3s;
}

.sidebar-menu li a i {
    width: 22px;
    text-align: center;
}

.sidebar-menu li:hover a,
.sidebar-menu li.active a {
    background: #0B5ED7;
    color: #fff;
}

.sidebar-menu li:hover a i,
.sidebar-menu li.active a i {
    color: #D4AF37;
}


/* ==========================================
   MAIN CONTENT
========================================== */

.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
    padding: 60px 50px;
}


/* ==========================================
   MOBILE MENU BUTTON
========================================== */

.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 8px;
    background: #0B5ED7;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 2000;
}


/* ==========================================
   PAGE HEADER
========================================== */

.page-header {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.page-header span {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: #0B5ED7;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    color: #aaa;
    line-height: 1.8;
}


/* ==========================================
   UPLOAD CARD
========================================== */

.upload-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px;
    background: #111;
    border: 1px solid #252525;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}


/* ==========================================
   APPLICANT INFORMATION
========================================== */

.applicant-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #292929;
}

.applicant-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #0B5ED7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.applicant-info p {
    color: #888;
    font-size: 12px;
}

.applicant-info h2 {
    color: #fff;
    font-size: 18px;
    margin-top: 3px;
}


/* ==========================================
   UPLOAD AREA
========================================== */

.upload-area {
    border: 2px dashed #333;
    border-radius: 16px;
    padding: 55px 30px;
    text-align: center;
    transition: .3s;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #0B5ED7;
    background: rgba(11, 94, 215, .05);
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(11, 94, 215, .15);
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-icon i {
    font-size: 35px;
    color: #0B5ED7;
}

.upload-area h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.upload-area p {
    color: #999;
    font-size: 14px;
    margin-bottom: 25px;
}


/* ==========================================
   CHOOSE BUTTON
========================================== */

.choose-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 25px;
    background: #0B5ED7;
    color: #fff;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.choose-btn:hover {
    background: #D4AF37;
    color: #050505;
}

.upload-area small {
    display: block;
    margin-top: 20px;
    color: #666;
    line-height: 1.7;
}


/* ==========================================
   FILE PREVIEW
========================================== */

.file-preview {
    display: none;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding: 18px;
    background: #191919;
    border: 1px solid #292929;
    border-radius: 12px;
}

.file-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #0B5ED7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.file-icon i {
    font-size: 22px;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-details h3 {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-details p {
    color: #888;
    font-size: 12px;
    margin-top: 5px;
}


/* ==========================================
   REMOVE FILE
========================================== */

.remove-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #333;
    border-radius: 8px;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    transition: .3s;
}

.remove-btn:hover {
    background: #d33;
    border-color: #d33;
    color: #fff;
}


/* ==========================================
   UPLOAD BUTTON
========================================== */

.upload-btn {
    width: 100%;
    height: 55px;
    margin-top: 25px;
    border: none;
    border-radius: 10px;
    background: #0B5ED7;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.upload-btn:hover {
    background: #D4AF37;
    color: #050505;
}

.upload-btn i {
    margin-right: 8px;
}


/* ==========================================
   UPLOAD MESSAGE
========================================== */

.upload-message {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
}

.upload-message.success {
    display: block;
    background: rgba(52, 199, 89, .12);
    border: 1px solid #34c759;
    color: #34c759;
}

.upload-message.error {
    display: block;
    background: rgba(255, 59, 48, .12);
    border: 1px solid #ff3b30;
    color: #ff6b63;
}


/* ==========================================
   CV TIPS
========================================== */

.cv-tips {
    max-width: 850px;
    margin: 35px auto 0;
    padding: 30px;
    background: #111;
    border: 1px solid #252525;
    border-radius: 18px;
}

.cv-tips h2 {
    font-size: 20px;
    margin-bottom: 25px;
}

.cv-tips h2 i {
    color: #D4AF37;
    margin-right: 8px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tip {
    padding: 20px;
    background: #191919;
    border-radius: 12px;
}

.tip i {
    color: #0B5ED7;
    margin-bottom: 12px;
}

.tip p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.7;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 992px) {

    .menu-toggle {
        display: block;
    }

    .sidebar {
        left: -280px;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        width: 100%;
        margin-left: 0;
        padding: 90px 25px 40px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .main-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 13px;
    }

    .upload-card {
        padding: 25px;
    }

    .upload-area {
        padding: 40px 20px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .cv-tips {
        padding: 25px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .page-header h1 {
        font-size: 27px;
    }

    .upload-card {
        padding: 18px;
    }

    .upload-area h2 {
        font-size: 20px;
    }

    .upload-area p {
        font-size: 13px;
    }

    .applicant-info h2 {
        font-size: 16px;
    }

    .file-preview {
        padding: 12px;
    }

    .file-details h3 {
        font-size: 12px;
    }

}