body {
    background: linear-gradient(135deg, #6f77fb, #9e61ff);
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;

}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.bg-white {
    background-color: #f8f8fc !important;
}

.logo {
    padding: 20px 20px 8px;
    border-radius: 14px;
}

.logo a {
    text-decoration: none;
    color: #656aff !important;
}

.logo-text {
    color: #656aff;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 14px;
}

.slogan {
    font-weight: 600;
    color: #666565;
    font-size: 16px;
}

.nav.nav-links {
    padding: 3px;
    border-radius: 14px;
    background-color: #f8f8fc;
    display: flex;
    flex-wrap: wrap;
}

.nav-links .nav-link {
    width: 98%;
    margin: 5px;
    text-align: center;
}

@media (min-width: 576px) {
    .nav-links .nav-link {
        width: 49%;
        margin: 2px;
    }
}

@media (min-width: 768px) {
    .nav-links .nav-link {
        width: 33%;
        margin: 1px;
    }
}

@media (min-width: 992px) {
    .nav-links .nav-link {
        width: 24%;
        margin: 3px;
    }
}

@media (min-width: 1200px) {
    .nav-links .nav-link {
        width: 19.5%;
        margin: 3px;
    }
}

.nav-links .nav-link {
    border: none;
    color: #969696;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-links .nav-link:hover {
    background: linear-gradient(to right, #6f77fb, #9e61ff);
    color: #f8f8fc;
}

.nav-links .nav-link.active {
    background: linear-gradient(to right, #6f77fb, #9e61ff);
    color: #f8f8fc;
}

.nav-links .nav-link.active:hover {
    background: linear-gradient(to right, #9e61ff, #6f77fb);
    color: #f8f8fc;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
}

.page-header .page-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.card {
    background-color: #f8f8fc;
    padding: 30px 20px;
    border-radius: 14px;
    height: 100%;
    box-shadow: -2px 0px 0px 0px #6ca8ff;
}

.card:hover {
    box-shadow: -1px 2px 15px 7px rgb(183, 141, 255);
}

.card.no-hover:hover {
    box-shadow: none !important;
    cursor: default !important;
}

.card-head {
    display: flex;
    align-items: center;
}

.profile-img {
    width: 60px;
    height: 60px;
    font-size: 1.5rem !important;
    font-weight: 700;
    border-radius: 50%;
    align-content: center;
    background: linear-gradient(to right, #6f77fb, #9e61ff);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.profile-card .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
}

.profile-card .sub-title {
    font-size: 18px;
    font-weight: 600;
    color: #7673fc;
}

.counter-pill {
    background: linear-gradient(to right, #b8b8b808, #cecece3b);
    border-radius: 4px;
    padding: 10px 3px;
}

.counter-number {
    font-size: 17px;
    font-weight: 800;
    color: #7773fc;
    margin-bottom: -4px;
}

.counter-title {
    color: #837d7d;
    font-weight: 600;
    font-size: 12px;
}

.btn-gradient {
    color: #fff;
    background: linear-gradient(to right, #6f77fb, #9e61ff);
    font-weight: bold;
    border: none;
    padding: 0.5rem 1rem;
    transition: 0.5s all ease-in-out;
    box-shadow: 0 4px 12px rgba(13, 9, 9, 0.3);
}

.btn-gradient:hover {
    color: #fff;
    opacity: 0.9;
    background: linear-gradient(to right, #9e61ff, #6f77fb);
}

.activity-card .card-heading {
    color: #32334f;
    font-size: 22px;
    font-weight: 700;
}

.activity {
    margin-bottom: 26px;
}

.activity-title {
    color: #09090d;
    font-size: 16px;
    font-weight: 700;
}

.activity-description {
    margin-bottom: 0px;
    color: #999;
    font-weight: 600;
}

.activity-time {
    color: #656aff;
}

.form-control,
.form-select,
textarea {
    border-radius: 6px;
    box-shadow: none;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: #9e61ff;
    box-shadow: none;
}

.form-label {
    font-weight: 700;
    margin-bottom: 6px;
}

textarea.form-control {
    resize: vertical;
    padding: 0.5rem 0.75rem;
}

.modal-body {
    padding-top: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.btn-close {
    box-shadow: none !important;
    font-size: 12px;
    padding: 14px !important;
}

#editProfileModal.show {
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.1);
}

.search-filter-wrapper {
    border-radius: 16px;
    margin-top: 20px auto;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.search-bar input[type="text"] {
    flex: 1;
    padding: 14px 16px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-btn {
    border: none;
    padding: 14px 24px;
    color: white;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 510px;
}

.filters select {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    outline: none;
    background: #fff;
}

.filters .form-select:focus {
    background-color: #ddd;
}

.opportunity-card .card-head {
    display: flex;
    align-items: center;
}

.opportunity-card .profile-img {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 10px;
    align-content: center;
    background: linear-gradient(to right, #6f77fb, #9e61ff);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.opportunity-card .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
}

.opportunity-card .sub-title {
    font-size: 18px;
    font-weight: 600;
    color: #7673fc;
}

.opportunity-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.opportunity-details span {
    color: #837d7d;
    font-size: 18px;
    font-weight: 600;
}

.opportunity-details span strong {
    color: #000;
    font-size: 16px;
}

.btn.btn-outline-custom {
    color: #7873fc;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid #7276fb;
}

.btn.btn-outline-custom:hover {
    background: linear-gradient(135deg, #6f77fb, #9e61ff);
    color: #fff !important;
}

.opportunity-requirements {
    display: flex;
}

.opportunity-requirements p {
    color: #7674fc;
    font-weight: 600;
    font-size: 15px;
    align-items: center;
    display: flex;
    margin-bottom: 0px;
    margin-left: 8px;
}

.athlete-card .card-head {
    flex-direction: column;
}

.athlete-card .athlete-img {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    align-content: center;
    background: linear-gradient(to right, #6f77fb, #9e61ff);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-bottom: 10px;
}

.athlete-card .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0px;
}

.athlete-card .sub-title {
    font-size: 20px;
    font-weight: 600;
    color: #7673fc;
}

.chat-sidebar {
    height: 100%;
    border-radius: 10px;
    overflow-y: auto;
}

.chat-heading {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.chat-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.chat-item {
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease-in-out;
    position: relative;
}

.chat-item:hover {
    background-color: #e9ecef;
}

.chat-item.active {
    background-color: #dbeafe;
}

.chat-title {
    font-weight: 600;
    font-size: 16px;
    color: #1e1e2f;
    margin-bottom: 4px;
}

.chat-preview {
    font-size: 20px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-time {
    color: #656aff;
}

.chat-new-message {
    font-size: 12px;
    background: linear-gradient(135deg, #6f77fb, #9e61ff);
    position: absolute;
    top: 20px;
    right: 15px;
    padding: 5px;
    border-radius: 50%;
}

.chat-container {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    font-family: sans-serif;
}

.chat-header {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 10px 14px;
}

.chat-img {
    width: 45px;
    height: 45px;
    font-size: 1rem !important;
    font-weight: 700;
    border-radius: 50%;
    align-content: center;
    background: linear-gradient(to right, #6f77fb, #9e61ff);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.chat-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0px;
}

.chat-sub-title {
    font-size: 13px;
}

.chat-box {
    flex: 1;
    padding: 10px;
    background: #f9f9f9;
    overflow-y: auto;
    min-height: 200px;
}

.message {
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 20px;
    max-width: 70%;
    clear: both;
}

.left {
    background-color: #e1e1e1;
    float: left;
}

.right {
    background: linear-gradient(135deg, #6f77fb, #9e61ff);
    color: white;
    float: right;
}

.chat-input {
    display: flex;
    background: #f9f9f9;
    padding: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    outline: none;
    border-radius: 25px;
}

.chat-input button {
    background: linear-gradient(135deg, #6f77fb, #9e61ff);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.5s ease;
}

.chat-input button:hover {
    background: linear-gradient(135deg, #9e61ff, #6f77fb);
    transform: scale(1.1);
}

.badge-custom {
    display: inline-block;
    padding: 0.07em 1em;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.active-badge {
    background: #8edf0063;
}

.pending-badge {
    background: #ffcc338a;
}

.complete-badge {
    background: #0072ff5e;
}

.deal-card {
    height: 100%;
    padding: 24px;
}

.deal-card .card-head {
    display: flex;
    align-items: center;
}

.deal-card .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
}

.deal-card .sub-title {
    font-size: 18px;
    font-weight: 600;
    color: #7673fc;
}

.deal-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;

}

.deal-details span {
    color: #837d7d;
    font-size: 18px;
    font-weight: 600;
}

.deal-details span strong {
    color: #000;
    font-size: 16px;
}

.deal-deliverables {
    display: flex;
}

.deal-deliverables p {
    color: #7674fc;
    font-weight: 600;
    font-size: 15px;
    align-items: center;
    display: flex;
    margin-bottom: 0px;
    margin-left: 8px;
}

@media screen and (max-width: 767px) {
    .page-header .page-title {
        width: 20%;
        font-size: 18px;
    }

    .page-header .btn {
        font-size: 14px;
        padding: 9px 6px;
    }

    .btn {
        font-size: 14px;
        padding: 9px 20px;
    }

    .btn.btn-outline-custom {
        padding: 4px 20px;
    }

    .search-bar input[type="text"] {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .btn.btn-outline-custom {
        padding: 4px 12px;
    }

    .opportunity-requirements {
        display: flex;
        flex-wrap: wrap;
    }

    .deal-deliverables {
        display: flex;
        flex-wrap: wrap;
    }

    .deal-deliverables p {
        margin-left: 0;
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 991.98px) {
    .filters {
        max-width: 100%;
    }
}