* {
    box-sizing: border-box;
    font-family: Poppins;
}

html {
    /* font-size: 62.5%; */
    overflow-x: hidden;
    scroll-behavior: smooth;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    margin: 0;
    padding: 0;
    background: #f7fafc;
}

header {
    background: white;
    width: 100%;
    min-height: 100px;
    position: relative;
    display: flex;
    gap: 40px;
    padding: 0px 40px;
    align-items: center;
    justify-content: space-between;
}

.header-title {
    margin: 0;
    display: block;
    font-weight: 900;
    font-size: 32px;
    color: #333;
    cursor: pointer;
}

.header-user-button {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: white;
    border: 0px;
    border-radius: 9px;
    cursor: pointer;
    gap: 48px;
    transition: ease-in-out 0.2s;
}

.header-user-button:hover {
    background: rgba(93, 95, 239, 0.04);
}

.header-user-button.active {
    background: rgba(93, 95, 239, 0.04);
}

.header-user-button .user-text-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-text-container h3 {
    margin: 0px 0px 4px;
    color: rgb(55, 55, 55);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.user-text-container h6 {
    margin: 0px;
    color: rgb(115, 119, 145);
    font-size: 14px;
    font-weight: 400;
}

main {
    padding: 32px 0;
}

.main-container {
    max-width: min(90%, 1300px);
    margin: 0 auto;
    text-align: center;
}

.content-navigation {
    margin-bottom: 36px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}

.content-navigation .nav-links {
    display: flex;
    border-bottom: 1px solid rgb(226, 231, 241);
}

.content-navigation .nav-link {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: -1px;
    cursor: pointer;
}

.nav-link.active {
    border-bottom: 1px solid #fa4251;
}

.content-navigation .nav-link i {
    margin-right: 5px;
    font-size: 16px;
}

.content-navigation .nav-link .badge {
    color: rgb(13, 110, 253);
    padding: 2px 8px;
    font-size: 10px;
    margin-left: 12px;
    background: rgb(13 110 253 / 10%);
    border-radius: 9px;
}

.content-navigation .add-button {
    padding: 8px 20px; 
    background: #fa4251; 
    border-radius: 9px; 
    color: white; 
    line-height: 30px;
    cursor: pointer;
}

.content-navigation .add-button.disabled {
    color: #acacac;
    background: #e5e5e5;
    cursor: not-allowed;
}

/* Tables */
.table {
    /* box-shadow: rgba(238, 238, 238, 0.5) 0 4px 20px 20px; */
    width: 100%;
    border: 0;
    border-radius: 7px;
    background: white;
    overflow: hidden;
}

.row {
    padding: 0 40px;
    display: flex;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #f2f2f2;
}

.row.inactive {
    opacity: 0.5;
}

.td {
    font-size: 15px;
    padding: 20px 0;
    line-height: 1;
    color: #808080;
    font-weight: 400;
}

.td .action {
    cursor: pointer;
}

.header {
    /* box-shadow: 0 4px 20px 0px rgb(83 83 83 / 10%); */
}

.header .td {
    font-weight: 700;
    font-size: 20px;
    padding: 22px 0;
    color: #fa4251;
    line-height: 1.4;
    background-color: transparent;
}



/* Error box */

.error-box {
    width: 95%;
    max-width: 700px;
    position: fixed;
    top: -100px; /* Initial position out of view */
    left: 50%;
    background: #ef4444;
    border-radius: 9px;
    display: flex;
    padding: 1rem;
    transform: translateX(-50%);
    z-index: 9000;
    transition: top 0.5s ease; /* For smooth animation */
}

.error-box.show {
    top: 20px; /* Move to the top */
    opacity: 1;
}

.error-box svg {
    color: white;
    width: 20px;
    flex: 24px 0 0;
}

.error-box p {
    margin-left: 5px;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: white;
    flex: 1;
}