@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #007AFF;
    --light-blue: #E9F0FF;
    --border-color: #e0e0e0;
    --danger-color: #FF0E0E;
    --team-green: #31DA45;
}

body {
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.desktop-heading {
    /* font-family: Roboto; */
    font-weight: 600;
    font-size: 24px;
    line-height: 18px;
    letter-spacing: 0px;

}

/* Sidebar Styles */
#sidebar {
    min-height: 100vh;
    background-color: white;
    border-right: 1px solid var(--border-color);
    width: 240px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}

.text-blue {
    color: var(--primary-color);
}

.sidebar-logo {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-heading {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-heading h2 {
    color: var(--primary-color);
    font-weight: bold;
    margin: 0;
}

.sidebar-menu {
    padding: 0;
    list-style: none;
    margin-top: 15px;
}

.sidebar-menu li {
    padding: 10px 15px;
    cursor: pointer;
    color: #505050;
}

.sidebar-menu li:hover {
    background-color: #f0f0f0;
}

.sidebar-menu li.active {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

.sidebar-menu li a {
    text-decoration: none;
    color: #505050;
}

/* Main Content Styles */
#content {
    margin-left: 240px;
    min-height: 100vh;
    width: calc(100% - 240px);
}

/* Header styles */
.top-nav {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    height: 60px;
    width: 100%;
}

.container-fluid {
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.nav-item .nav-link {
    padding: 15px;
    height: 60px;
    display: flex;
    align-items: center;
}

.nav-item.active .nav-link {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

/* Form elements */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 122, 255, 0.25);
}

.btn {
    /* font-family: Roboto; */
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;

}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Status badges */
.badge.bg-accepted {
    background-color: #E4FFE4;
    color: #128012;
}

.badge.bg-pending {
    /* background-color: #fff3cd; */
    background: #FFC70E33;

    color: #FFC70E;
}

.badge.bg-declined {
    background-color: #FF121133;
    color: #FF0E0E;
}

/* Assessment status colors */
.status-completed {
    color: #4A9E00 !important;
}

.status-updated {
    color: #489FFF !important;
}

.status-pending {
    color: #F54040 !important;
}

/* Search input with icon */
.search-container {
    position: relative;
}

.search-container i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-container input {
    padding-left: 35px;
}

/* Team table styles */
.team-table th {
    background: #F8F8F8;
    font-weight: 500;
    color: #6c757d;
    padding-inline: 25px;
}

.team-table tbody tr td,
.team-table tbody tr th {
    border: none !important;
    padding-block-start: 25px !important;
    padding-block-end: 15px !important;
    padding-inline-start: 25px !important;
    padding-inline-end: 25px !important;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    padding: 14px;
    width: 267px;
}

.team-table thead {
    background-color: #F8F8F8;
}

.team-table td {
    vertical-align: middle;
}

/* Input group style for email with dropdown */
.input-group-text {
    color: var(--primary-color);
    background-color: white;
}

/* Button styles */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-danger {
    color: var(--danger-color);
    border-color: var(--danger-color);
}

.btn-outline-danger:hover {
    background-color: var(--danger-color);
    color: white;
}

/* Card styles */
.team-card {
    background-color: white;
    border-radius: 8px;
    text-align: -webkit-left;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 470px;
    font-weight: 400;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;

}

.team-card p,
.team-card h3 {
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;

    padding: 5px 0px;
}

/* Empty state */
.empty-state,
#teamDashboardContainer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    height: 305px;
    background-color: #F6F6F6;
    border-radius: 8px;
    text-align: center;
    max-height: 400px;
    overflow-y: auto;
}

.empty-state>h2 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    text-shadow: none;
}

.empty-state::-webkit-scrollbar {
    width: 6px;
}

.empty-state::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.empty-state::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.empty-state::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Tabs */
.tab-navbar {
    display: flex;
    /* border-bottom: 1px solid var(--border-color); */
    margin-bottom: 20px;
    font-size: 22px;
}

.tab-navbar .tab {
    padding: 15px 20px;
    cursor: pointer;
    /* color: #505050; */
    position: relative;
}

.tab-navbar .tab.active {
    /* color: var(--primary-color); */
    font-weight: 500;
}



/* Action buttons */
.action-buttons {
    display: flex;
    gap: 10px;
}

/* Toggle for views */
.view-toggle {
    display: none;
}

.view-toggle.active {
    display: block;
}

/* Space placeholder */
.rocket-icon {
    width: 120px;
    height: 120px;
    fill: #ccc;
}


/* Custom form styles for create team page */
.form-label {
    color: #000000;
}

.form-control {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-check-input {
    width: 2.5em;
    height: 1.25em;
}

.form-check-input:checked {
    background-color: var(--team-green);
    border-color: var(--team-green);
}

/* Switch toggle style */
.form-switch .form-check-input {
    margin-left: 1em;
    cursor: pointer;
}

.decline-btn {
    background-color: #EFEFEF;
    color: #000000;
}

.decline-btn:hover {
    background-color: white;
    color: #000000;
    outline: 1px solid #EFEFEF;
}

/* Dropdown styles */
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-color);
}

.alert-info {
    background-color: #D5E9FF;
    border-color: #D5E9FF;
    color: #000;
}

.status-badge {
    background-color: #E4FFE4;
    color: #128012;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.remove-btn {
    border: 1px solid #FF0E0E;
    color: #FF0E0E;
    background-color: white;
    padding: 6px 16px;
    border-radius: 4px;
    transition: all 0.2s;
}

.remove-btn:hover {
    background-color: #FF0E0E;
    color: white;
}

.team-members-table th {
    color: #6c757d;
    font-weight: 500;
    /* padding: 5px 25px; */
}

.team-members-table td {
    padding: 12px 16px;
    vertical-align: middle;
}

.team-alert {
    background-color: #E6F2FF;
    border: none;
    color: #333;
    padding: 12px 16px;    
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0px;
    
}

.form-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0px;

}