*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background: #f7f8fa;
}

input,
button{
    cursor: pointer;
}

/* Topbar */

.topbar{
    height: 60px;
    background: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.topbar-left,
.topbar-right{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.logo{
    margin-right: 100px;
}

.logo h2{
    font-size: 17px;
    font-weight: bolder;
}

.topbar input{
    width: 390px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f7f8fa;
    font-size: 14px;
}

.topbar input::placeholder{
    color: #999;
}

.circle-button{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    background: #111;
}

/* Container */

.container{
    display: flex;
    min-height: calc(100vh - 64px);
}

/* Sidebar */

.sidebar{
    width: 195px;
    flex-shrink: 0;
    border-right: 1px solid #ddd;
    padding: 12px 11px;
}

.sidebar-title{
    margin: 0 0 10px 11px;
}

.sidebar-title p{
    font-weight: bold;
    font-size: 12px;
    color: #999;
}

.sidebar nav{
    display: flex;
    flex-direction: column;
}

.sidebar a{
    text-decoration: none;
    color: #111;
    padding: 11px;
    border-radius: 10px;
    margin-bottom: 7px;
    font-size: 14px;
}

.sidebar a:hover,
.sidebar a.active{
    background: #ececec;
}

.sidebar a.active{
    color: #fff;
    background-color: #111;
}

/* Main */

.main-content{
    flex: 1;
}

/* Content */

.content{
    min-height: calc(100vh - 64px);
    padding: 33px 32px;
    background: #fff;
}

/* Content Header */

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    gap: 20px;
}

.content-header > div{
    max-width: 70%;
}

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

.content-header-text p{
    color: #777;
    margin-top: 5px;
    font-size: 14px;
}

.content-header-button{
    display: flex;
    align-items: center;
    gap: 9px;
    background: #111;
    color: #fff;
    font-size: 14px;
    border: none;
    padding: 11px 18px;
    border-radius: 10px;
}

.content-header-button:hover{
    background: #333;
}

/* Dashboard */

/* Summary Cards */

.summary-cards{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.summary-card{
    padding: 17px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 15px;
}

.summary-card p{
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
}

.summary-card h2 {
    margin: 0;
    color: #111;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
}

#interview-count{
    color: #E87900;
}

#offer-count{
    color: #00A63E;
}

#applied-count{
    color: #666;
}

/* Card */

.card{
    background: #fff;
    border-radius: 15px;
    border: 1px solid #ddd;
}

.card h2{
    margin: 18px 24px;
    font-size: 14px;
    font-weight: bold;
}

/* Table */

table{
    width: 100%;
    border-collapse: collapse;
}

th{
    text-align: left;
    padding: 13px 24px;
    color: #999;
    border-bottom: 1px solid #ddd;
    background-color: #f7f8fa;
    font-size: 12px;
    font-weight: bold;
}

.dashboard-card th{
    border-top: 1px solid #ddd;
}

.application-card th:first-child{
    border-top-left-radius: 15px;
}

.application-card th:last-child{
    border-top-right-radius: 15px;
}

td{
    padding: 17px 24px;
    border-top: 1px solid #ddd;
    font-size: 14px;
}

/* My Application */

/* Filter Bar */

.filter-bar{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-bar button{
    color: #666;
    padding: 7px 13px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 12px;
}

.filter-bar button:hover{
    color: #111;
    background: #f7f8fa;
    border-color: #ccc;
}

.filter-bar button.active{
    color:#fff;
    font-weight: bold;
    border: 1px solid #111;
    background: #111;
}

/* Skills Matrix */

.skills-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skills-card-content{
    border-top: 1px solid #ddd;
    padding: 26px 24px 24px;
}

.skill-category{
    margin-bottom: 18px;
}

.skill-category:last-child{
    margin-bottom: 0;
}

.skill-category p{
    margin-bottom: 14px;
    color: #777;
    font-size: 12px;
    font-weight: 500;
}

.skill-item{
    margin-bottom: 14px;
}

.skill-item:last-child{
    margin-bottom: 0;
}

.skill-label{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 7px;
    color: #666;
    font-size: 12px;
}

.skill-name{
    color: #111;
    font-size: 13px;
}

.percentage-bar{
    width: 100%;
    height: 7px;
    overflow: hidden;
    background: #ececec;
    border-radius: 999px;
}

.percentage{
    height: 100%;
    background: #111;
    border-radius: 999px;
}

.demand-item{
    display: grid;
    grid-template-columns: 110px minmax(100px, 1fr) 60px;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.demand-skill{
    color: #111;
    font-size: 13px;
}

.demand-count{
    color: #666;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}

.demand-percentage{
    background: #ffb000;
}

/* Networking Contact */

.contacts-list{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card{
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
}

.contact-avatar{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 12px;
    font-weight: bold;
    background: #ececec;
}

.contact-heading{
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 7px;
}

.contact-name{
    color: #111;
    font-size: 14px;
    font-weight: 600;
}

.contact-role{
    color: #666;
    font-size: 12px;
}

.contact-links{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    color: #666;
    font-size: 12px;
}

.contact-links a{
    color: #155eef;
    text-decoration: none;
}

.contact-links a:hover {
    text-decoration: underline;
}

.contact-notes{
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}
