﻿
/*#region CommonLayout */

/* Container for alignment */
.user-profile-wrapper {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
}

/* The Main Box Size */
.user-details-card {
    position: absolute;
    top: 45px; /* Distance from the icon */
    right: 0;
    width: 260px; /* Reduced width for a more compact look */
    background: #ffffff;
    border-radius: 8px; /* Slightly sharper corners */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 15px; /* Smaller padding */
    z-index: 1000;
    border: 1px solid #eef0f2;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* User Info Section */
.user-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.avatar-circle {
    width: 42px;
    height: 42px;
    background: #dce8ff;
    color: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    margin-right: 10px;
}

.user-text {
    display: flex;
    flex-direction: column;
    font-size: 13px; /* Smaller text size */
    color: #333;
}

.u-name {
    font-weight: 600;
}

.u-phone {
    font-weight: 600;
}

/* The Orange Trial Box - Exact Match */
.trial-banner-box {
    background-color: #f37021; /* [cite: 3] */
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px; /* Smaller font for the banner */
    font-weight: 700;
    margin: 10px 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.promo-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Buttons and Links */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-open-demat-dropdown {
    background-color: #043b72; /* Dark blue [cite: 2] */
    color: white !important;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.link-logout {
    color: #999;
    text-decoration: underline;
    font-size: 12px;
}

/* Top Arrow */
.card-arrow {
    position: absolute;
    top: -6px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid #eef0f2;
    border-left: 1px solid #eef0f2;
}

#freeTrialForm {
    visibility: hidden;
}

/*#endregion */

/*#region Equity, Fno, Commodities Calls */

.sort-des {
    display: flex;
    justify-content: end;
    font-size: 10px;
    color: #9E9E9E;
    margin: 0px !important;
}

.imgicon {
    height: 30px;
    width: 30px;
}

.date-filter-group {
    margin: 10px 0px;
}

.date-input-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

    .date-input-wrapper label {
        font-size: 13px;
        margin-bottom: 4px;
        font-weight: 500;
        color: #9E9E9E;
        font-family: var(--bs-body-font-family-regular);
        font-weight: 400;
    }

.filter-section input[type="date"] {
    width: 215px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 73px;
    font-size: 14px;
    color: #252528;
    background: white;
    cursor: pointer;
    font-family: var(--bs-body-font-family-regular);
    font-weight: 400;
    background-position-x: 212px;
}

    .filter-section input[type="date"]:focus {
        outline: none;
        border-color: #4CAF50;
        box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
    }

.clear-dates-btn {
    margin: 10px;
    background-color: #F58220 !important;
    color: white;
    border: none;
    padding: 7px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    align-self: flex-end;
    margin-bottom: 2px;
    transition: background-color 0.2s;
}

    .clear-dates-btn:hover {
        background-color: #F58220 !important;
    }

    .clear-dates-btn:disabled {
        background-color: #f4aa6b !important;
        cursor: not-allowed;
    }

#noResultsMessage {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.clear-dates-btn:disabled {
    margin: 10px;
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #F58220 !important;
}

.not-found-card {
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #EAEAEA;
}

    .not-found-card table {
        margin: 0;
    }

    .not-found-card td,
    .not-found-card th {
        padding: 15px 15px 15px 20px;
        vertical-align: middle;
    }

    .not-found-card th {
        background-color: #F8F8F8;
    }

.price-StoplossTriggered {
    font-size: 13px;
    font-family: var(--bs-body-font-family-regular);
    font-weight: 400;
    color: #4D4D4D;
}




/*#endregion */

/*#region Mutual Funds */

.navbar-brand img {
    height: 35px;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
}

    .btn-primary-custom:hover {
        background-color: #00528a;
    }

.filter-tabs {
    display: flex;
    gap: 35px;
    margin: 25px 0;
    /* border-bottom: 2px solid #e0e0e0;
            padding-bottom: 10px;*/
}

    .filter-tabs a {
        color: #999;
        text-decoration: none;
        font-weight: 500;
        padding-bottom: 10px;
        /*border-bottom: 3px solid transparent;*/
        transition: all 0.3s;
    }

        .filter-tabs a.active {
            color: #333;
            border-bottom: 3px solid var(--primary-orange);
        }

.sort-section {
    text-align: right;
    color: #f58220;
    font-size: 0.9rem;
}

    .sort-section i {
        color: var(--primary-orange);
    }

.ratings-powered {
    text-align: right;
    color: #9E9E9E;
    font-size: 10px;
    margin-bottom: 10px;
}

.category-dropdown {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    color: #2d2d2d;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 30px;
    cursor: pointer;
}

.dropdown-menu {
    min-width: 13rem;
    margin-left: 15px !important;
}

.client-btn {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ff8c42;
    border-radius: 8px;
    background: white;
    color: #2d2d2d;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

    .client-btn:hover {
        background: #fff5f0;
    }

    .client-btn i {
        color: #b5b5b5;
        font-size: 1rem;
    }

.fund-card {
    background: white;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: none;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.fund-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8F8F8;
    padding: 15px 30px;
    margin-bottom: 0;
    border-bottom: 1px solid #EAEAEA;
}

.fund-title-section h3 {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--bs-body-font-family-bold);
    color: #000000;
    margin-bottom: 3px;
    letter-spacing: -0.3px;
}

.fund-subtitle {
    color: #9E9E9E;
    font-size: 12px;
    font-weight: 400;
    font-family: var(--bs-body-font-family-regular);
}

.fund-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 5px;
}

    .star-rating .star-icon {
        color: #ff8c42;
        font-size: 1.8rem;
        font-weight: 300;
    }

    .star-rating .star-count {
        color: #ff8c42;
        font-weight: 400;
        font-size: 1.15rem;
        margin-left: 2px;
    }

.btn-sip, .btn-lumpsum {
    background-color: #1AB176;
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    padding: 7px 20px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.3px;
    font-family: var(--bs-body-font-family-bold);
}

    .btn-sip:hover, .btn-lumpsum:hover {
        background-color: #00b37d;
    }

.fund-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    background: white;
    padding: 25px 30px;
}

.metric-item {
    text-align: left;
}

.metric-label {
    color: #9E9E9E;
    font-size: 12px;
    margin-bottom: 8px;
    display: block;
    font-weight: 400;
    font-family: var(--bs-body-font-family-regular);
}

.metric-value {
    color: #4D4D4D;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--bs-body-font-family-medium);
}

.metric-date {
    color: #9E9E9E;
    font-size: 11px;
    display: block;
    margin-top: 3px;
    font-weight: 400;
    font-family: var(--bs-body-font-family-regular);
}

.stats-section {
    background: var(--primary-orange);
    color: white;
    padding: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
}
/*.d-flex {
            display: block !important;
        }*/

.sort-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #333;
}

    .sort-item:hover {
        background-color: #f1f1f1;
    }

    .sort-item:last-child {
        border-bottom: none;
    }

.sort-icon {
    color: #ccc; /* Default grey color for icons */
    font-size: 14px;
}

/* Add a class to highlight the active sort item if desired */
.sort-item.active-sort {
    background-color: #f0f8ff;
    font-weight: bold;
}

    .sort-item.active-sort .sort-icon {
        color: #f97316; /* Highlight color for active arrows */
    }



/*#endregion */