/* ==========================================
   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;
}


/* ==========================================
   DASHBOARD
========================================== */

.dashboard {
    display: flex;
    min-height: 100vh;
}


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

.sidebar {
    position: fixed;

    top: 0;
    left: 0;

    width: 280px;
    height: 100vh;

    padding: 30px 20px;

    background: #111;

    border-right: 1px solid #222;

    overflow-y: auto;

    z-index: 1000;

    transition: 0.35s ease;
}


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

.logo {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 50px;
}

.logo-circle {
    width: 55px;
    height: 55px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #0B5ED7;

    color: #fff;

    border: 2px solid #D4AF37;

    font-size: 20px;

    font-weight: 700;
}

.logo-text h2 {
    color: #fff;

    font-size: 18px;

    line-height: 1.2;
}

.logo-text p {
    color: #D4AF37;

    font-size: 12px;

    margin-top: 4px;
}


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

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

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

.sidebar-menu li a {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 14px 15px;

    color: #ddd;

    text-decoration: none;

    border-radius: 10px;

    transition: 0.3s ease;
}

.sidebar-menu li a i {
    width: 22px;

    text-align: center;
}

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

    color: #fff;
}


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

.main-content {
    width: calc(100% - 280px);

    margin-left: 280px;

    min-height: 100vh;

    padding: 45px;
}


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

.page-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    margin-bottom: 35px;
}

.page-header span {
    display: inline-block;

    color: #D4AF37;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.page-header h1 {
    font-size: 38px;

    margin-bottom: 8px;
}

.page-header p {
    color: #aaa;

    font-size: 15px;
}


/* ==========================================
   EDIT BUTTON
========================================== */

.edit-profile-btn {
    border: none;

    background: #0B5ED7;

    color: #fff;

    padding: 13px 22px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.edit-profile-btn:hover {
    background: #D4AF37;

    color: #050505;
}

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


/* ==========================================
   PROFILE TOP CARD
========================================== */

.profile-top-card {
    display: flex;

    align-items: center;

    gap: 35px;

    padding: 35px;

    margin-bottom: 25px;

    background: #111;

    border: 1px solid #222;

    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .3);
}


/* ==========================================
   PROFILE IMAGE
========================================== */

.profile-image-section {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;
}

.profile-image {
    width: 130px;

    height: 130px;

    border-radius: 50%;

    overflow: hidden;

    background: #1a1a1a;

    border: 4px solid #0B5ED7;
}

.profile-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


/* ==========================================
   CHANGE PHOTO
========================================== */

.change-photo-btn {
    border: 1px solid #333;

    background: #1a1a1a;

    color: #ddd;

    padding: 9px 15px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 12px;

    transition: .3s;
}

.change-photo-btn:hover {
    background: #0B5ED7;

    border-color: #0B5ED7;

    color: #fff;
}

.change-photo-btn i {
    margin-right: 6px;
}


/* ==========================================
   PROFILE SUMMARY
========================================== */

.profile-summary h2 {
    font-size: 28px;

    margin-bottom: 7px;
}

.profile-summary p {
    color: #aaa;

    margin-bottom: 15px;
}

.profile-status {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 12px;

    border-radius: 20px;

    background: rgba(85, 214, 138, .08);

    color: #55d68a;

    font-size: 13px;
}

.profile-status i {
    font-size: 7px;
}


/* ==========================================
   PROFILE CARD
========================================== */

.profile-card {
    background: #111;

    border: 1px solid #222;

    border-radius: 16px;

    padding: 30px;

    margin-bottom: 25px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
}


/* ==========================================
   CARD TITLE
========================================== */

.card-title {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 15px;

    margin-bottom: 25px;

    border-bottom: 1px solid #252525;
}

.card-title > div {
    display: flex;

    align-items: center;

    gap: 12px;
}

.card-title i {
    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: rgba(11, 94, 215, .15);

    color: #0B5ED7;
}

.card-title h2 {
    font-size: 20px;
}


/* ==========================================
   PROFILE GRID
========================================== */

.profile-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.profile-field {
    background: #171717;

    padding: 18px;

    border-radius: 10px;

    border: 1px solid #242424;
}

.profile-field label {
    display: block;

    color: #888;

    font-size: 12px;

    margin-bottom: 7px;

    text-transform: uppercase;
}

.profile-field p {
    color: #fff;

    font-size: 15px;
}


/* ==========================================
   SKILLS
========================================== */

.skills-container {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.skills-container span {
    padding: 9px 17px;

    background: rgba(11, 94, 215, .12);

    border: 1px solid #0B5ED7;

    color: #fff;

    border-radius: 25px;

    font-size: 13px;

    transition: .3s;
}

.skills-container span:hover {
    background: #0B5ED7;

    transform: translateY(-2px);
}


/* ==========================================
   CV CARD
========================================== */

.cv-card {
    display: flex;

    align-items: center;

    gap: 20px;
}

.cv-icon {
    width: 60px;

    height: 60px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(212, 175, 55, .1);

    color: #D4AF37;

    border-radius: 12px;

    font-size: 25px;
}

.cv-info {
    flex: 1;
}

.cv-info h2 {
    font-size: 18px;

    margin-bottom: 5px;

    word-break: break-word;
}

.cv-info p {
    color: #999;

    font-size: 13px;
}


/* ==========================================
   UPLOAD CV
========================================== */

.upload-cv-btn {
    border: none;

    background: #0B5ED7;

    color: #fff;

    padding: 12px 20px;

    border-radius: 9px;

    cursor: pointer;

    font-weight: 600;

    transition: .3s;
}

.upload-cv-btn:hover {
    background: #D4AF37;

    color: #050505;
}

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


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

.menu-toggle {
    display: none;

    position: fixed;

    top: 18px;

    left: 18px;

    width: 45px;

    height: 45px;

    border: none;

    border-radius: 8px;

    background: #0B5ED7;

    color: #fff;

    font-size: 19px;

    cursor: pointer;

    z-index: 2000;
}


/* ==========================================
   FOOTER
========================================== */

.dashboard-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 25px 0;

    margin-top: 40px;

    border-top: 1px solid #222;

    color: #999;
}

.footer-left h3 {
    color: #fff;

    font-size: 16px;
}

.footer-left p {
    color: #D4AF37;

    font-size: 12px;
}

.footer-center p {
    font-size: 12px;
}

.footer-social {
    display: flex;

    gap: 10px;
}

.footer-social a {
    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #171717;

    color: #aaa;

    text-decoration: none;

    transition: .3s;
}

.footer-social a:hover {
    background: #0B5ED7;

    color: #fff;
}


/* ==========================================
   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 30px;
    }

}


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

@media (max-width: 768px) {

    .main-content {
        padding: 85px 18px 25px;
    }

    .page-header {
        flex-direction: column;

        align-items: flex-start;
    }

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

    .edit-profile-btn {
        width: 100%;
    }

    .profile-top-card {
        flex-direction: column;

        text-align: center;

        padding: 30px 20px;
    }

    .profile-summary {
        width: 100%;
    }

    .profile-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .profile-card {
        padding: 22px 18px;
    }

    .cv-card {
        flex-direction: column;

        align-items: flex-start;
    }

    .upload-cv-btn {
        width: 100%;
    }

    .dashboard-footer {
        flex-direction: column;

        text-align: center;
    }

}


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

@media (max-width: 480px) {

    .sidebar {
        width: 260px;
    }

    .logo-circle {
        width: 48px;

        height: 48px;

        font-size: 17px;
    }

    .logo-text h2 {
        font-size: 15px;
    }

    .logo-text p {
        font-size: 11px;
    }

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

    .profile-image {
        width: 110px;

        height: 110px;
    }

    .profile-summary h2 {
        font-size: 23px;
    }

    .card-title h2 {
        font-size: 17px;
    }

    .profile-field {
        padding: 15px;
    }

    .skills-container span {
        font-size: 12px;

        padding: 8px 13px;
    }

    .dashboard-footer {
        gap: 15px;
    }

}