* {
    font-family: "Roboto", serif;
}

body {
    background-image: linear-gradient(
        174.2deg,
        rgba(255, 244, 228, 1) 7.1%,
        rgba(240, 246, 238, 1) 67.4%
    );
}

.timesheet-form-wrapper {
    padding-top: 20px;
}

.timesheet-form {
    margin: 10px 0;
    padding: 30px;
}

.btn-primary.active {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.progress-bar-container {
    margin-bottom: 20px;
}

/* Options */
.option-btn {
    border-radius: 25px;
    padding: 8px 20px;
    margin: 5px;
    border: 1px solid #661d00;
    background-color: var(--light-green-color);
    transition: all 0.3s ease;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    text-align: center;
}

.option-btn:hover {
    background-color: #f0f0f0;
    color: #661d00;
    transform: translateY(-1px);
}

.option-btn.selected {
    color: white;
    background-color: var(--dark-green-color) !important;
    border-color: #212121;
}


.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

/* Horizontal Layout (fixed 2 columns) */
.layout-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns fixed */
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

.question {
    display: none;
}

.question h6 {
    font-size: 18px !important;
}

.question.active {
    display: block;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.nav-button {
    background-color: rgb(47, 1, 47);
    color: white;
    padding: 4px 10px;
}

.sidebar-logo div {
    font-size: 20px !important;
    font-weight: 800;
}

.sidebar-logo span {
    font-size: 16px;
    background-color: #9d0a14;
    color: white;
    padding: 3px 10px;
    border-radius: 2px;
}

.sidebar-nav-icon{
    margin-right: 5px;
    margin-bottom: 2px;
}

.accordion-button .sidebar-nav-icon i{
    font-size: 13px;
}

.sidebar-nav-text{
    font-weight: 500;
    font-size: 15px;
}

.sidebar-navigation-body{
    margin-left: 10px;
    margin-top: 8px;
}

.sidebar-navigation-body ul li a{
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

.accordion-item i {
    font-size: 0.8rem;
    margin-right: 0px;
    padding-left: 11px;
}

/* Sidebar end */

.relations-stat-cards {
    margin-top: 5px;
}

.name-slates {
    padding: 12px;
    background-color: aliceblue;
}

.relations-category {
    font-size: 14px;
    color: #9d0a14;
}

.relation-name {
    font-size: 14px;
}

.swal2-title {
    font-size: 20px !important;
}

/* animesh */

.features-section {
    padding: 1rem;
    background-image: linear-gradient(
        174.2deg,
        rgba(255, 244, 228, 1) 7.1%,
        rgba(240, 246, 238, 1) 67.4%
    );
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: #111827;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #e5e7eb;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-wrapper i {
    color: white;
    font-size: 1.25rem;
}

/* Icon background colors */

.purple {
    background-color: #8b5cf6;
}

.yellow {
    background-color: #eab308;
}

.orange {
    background-color: #f97316;
}

.teal {
    background-color: #14b8a6;
}

.feature-content {
    flex: 1;
}

.feature-content h5 {
    font-size: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #111827;
}

.feature-content p {
    color: #4b5563;
    line-height: 1.5;
}

/* profile page css */

/* Time sheet form start */

.emp-profile {
    padding: 3%;
    margin-top: 3%;
    margin-bottom: 3%;
    border-radius: 0.5rem;
    background: #fff;
}

.profile-img {
    text-align: center;
}

.profile-img img {
    width: 70%;
    height: 100%;
}

.profile-img .file {
    position: relative;
    overflow: hidden;
    margin-top: -20%;
    width: 70%;
    border: none;
    border-radius: 0;
    font-size: 15px;
    background: #212529b8;
}

.profile-img .file input {
    position: absolute;
    opacity: 0;
    right: 0;
    top: 0;
}

.profile-head h5 {
    color: #333;
}

.profile-head h6 {
    color: #0062cc;
}

.profile-edit-btn {
    border: none;
    border-radius: 1.5rem;
    width: 70%;
    padding: 2%;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
}

.proile-rating {
    font-size: 12px;
    color: #818182;
    margin-top: 5%;
}

.proile-rating span {
    color: #495057;
    font-size: 15px;
    font-weight: 600;
}

.profile-head .nav-tabs {
    margin-bottom: 5%;
}

.profile-head .nav-tabs .nav-link {
    font-weight: 600;
    border: none;
}

.profile-head .nav-tabs .nav-link.active {
    border: none;
    border-bottom: 2px solid #0062cc;
}

.profile-work {
    padding: 14%;
    margin-top: -15%;
}

.profile-work p {
    font-size: 12px;
    color: #818182;
    font-weight: 600;
    margin-top: 10%;
}

.profile-work a {
    text-decoration: none;
    color: #495057;
    font-weight: 600;
    font-size: 14px;
}

.profile-work ul {
    list-style: none;
}

.profile-tab label {
    font-weight: 600;
}

.profile-tab p {
    font-weight: 600;
    color: #0062cc;
}

/* Time sheet form start */

.form-header-card {
    position: relative;
    padding: 20px;
    background-color: var(--yellow-color) !important;
    transition: transform 0.3s ease;
}

.form-header-card:hover {
    transform: translateY(-2px);
}
.form-header-card h6 {
    font-weight: 900;
}

.form-header-card .header-text {
    font-size: 14px;
}
.timesheet-header-card {
    position: relative;
    padding: 20px;
    /* background-image: radial-gradient( circle farthest-corner at 11.7% 80.6%,  rgba(249,185,255,1) 0%, rgba(177,172,255,1) 49.3%, rgba(98,203,255,1) 89% ); */
    background: #16a085; /* fallback for old browsers */
    background: -webkit-linear-gradient(
        to right,
        #f4d03f,
        #16a085
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to right,
        #f4d03f,
        #16a085
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.timesheet-header-card h6 {
    font-weight: 900;
}

.timesheet-header-card .header-text {
    font-size: 14px;
}

.form-header-box {
    width: 180px;
    position: absolute;
    right: 0;
    top: 0;
}

.form-header-box img {
    width: 100%;
}

.timesheet-form {
    backdrop-filter: blur(4px) saturate(180%);
    -webkit-backdrop-filter: blur(4px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.79);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.add-button {
    padding: 7px 20px;
    background-color: purple;
    color: white;
}

.form-alert-message {
    border: 1px solid rgba(255, 157, 0, 0.46);
    background-color: rgba(255, 128, 0, 0.119);
    padding: 5px;
    color: rgb(134, 83, 0);
    margin-bottom: 10px;
    font-size: 14px;
}

/* Time sheet form end */

/* Timesheet main dashboard start */
.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.info-cards .card{
    padding: 10px 0;
}

.info-cards .card .categoryImage {
    width: 60px;
}

.info-cards .card .categoryImage img {
    width: 100%;
}

.category-name-text {
    font-size: 14px;
}

.info-cards .card .tooltip-content {
    font-size: 13px;
}

.dashboard-add-button {
    background-color: #9d0a14;
    padding: 5px 15px;
    font-size: 14px;
}
.category-name-status .status {
    font-size: 14px;
    font-weight: 800;
}

.responsive-charts {
    width: 380px;
}

.expression-image{
    width: 50px;
}

.expression-image img{
    width: 100%;
}

/* Timesheet main dashboard end */

/* Timesheet question form start */
.question-name {
    background-color: var(--dark-green-color);
    font-weight: 800;
    font-size: 18px;
    color: #ffffff;
}

.chart_category_status {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-green-color);
}

.chart_category_name {
    font-size: 12px;
    font-weight: 700;
}

.expressions-card{
    background-color: var(--light-green-color);
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .info-cards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .question-name {
        font-size: 14px !important;
    }
    #progressNotification {
        font-size: 16px;
        padding: 12px 15px;
    }
}
/* Timesheet question form end */

/* Timesheet Ads module start */
.ads-image {
    width: 100%;
    margin-bottom: 20px;
}

.ads-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.ads-image-bottom {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
}

.ads-image-bottom img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
/* Timesheet Ads module end */

.dashboard-main-body {
    min-height: 100vh;
    position: relative; /* Ensure the container positions its child pseudo-element correctly */
    z-index: 0; /* Set the stacking context */
}

.dashboard-main-body::before {
    content: ""; /* Add an empty content */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../Frontend/images/bg-doodle.jpg");
    opacity: 0.04; /* Adjust the opacity level */
    z-index: -1; /* Place it behind the content */
}

/* Time sheet alert message design */

#progressNotification {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #def8cbdc;
    border: 1px solid #7c9c64;
    color: #000; /* White text */
    text-align: center;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    animation: slideIn 2.5s forwards; /* Slide-in effect */
}

@keyframes slideIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

.msg_active {
    opacity: 1 !important;
    transform: translateY(0) !important; /* Ensure it's visible and positioned correctly */
}
