/* Tabs Styling */
.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    background: #f7f9fc;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.tab {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    cursor: pointer;
    background-color: #3875c6;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s;
}

/* .tab:hover {
    background-color: #d0eaff;
    color: #1977cc;
} */

.tab.active {
    background-color: #133590;
    color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Calendar and Container Styling */
.colcontainer {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    background-color: #fafafa;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.calendar {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.calendaricon {
    font-size: 1.5rem;
    cursor: pointer;
    color: #1977cc;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 15px;
    justify-content:center;
}

.calendar-day {
    padding: 12px;
    background-color: #f0f4f8;
    border-radius: 6px;
    font-weight: bold;
    color: #666;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    text-align:center
}

.day:hover {
    background-color: #1977cc;
    color: #ffffff;
}

.selected-day {
    background-color: #1977cc;
    color: #ffffff;
}

/* Time Slots Styling */
.time-slots {
    margin-top: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

#timeSlots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 10px;
    background-color: #f0f4f8;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.time-slot:hover {
    background-color: #1977cc;
    color: #ffffff;
}

.selected-time {
    background-color: #1977cc;
    color: #ffffff;
}

/* Optional: When the time slot is clicked (if it's selected), also ensure text remains white */
.time-slot.selected-time {
    background-color: #1977cc;
    color: #ffffff !important; /* Text color white */
  }
  
  .time-slot.selectedkil {
    background-color: #1977cc;
    color: #ffffff !important; /* Text color white */
  }
  
  span.selectedkil {
    color: #fff !important;
  }

  .time-slot.selected-time span {
    color: #ffffff !important; /* Ensure text within the time slot is white */
  }
  
  

/* Button Styling */
.button-container {
    /* display: flex; */
    justify-content: space-between;
    margin-top: 20px;
}

.button {
    padding: 10px 25px;
    border: none;
    background-color: #1977cc;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
    background-color: #004a8f;
    transform: scale(1.05);
}

/* Animation for Smooth Transitions */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

input.form-control {
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 5px;
    transition: border-color 0.3s;
}

input.form-control:focus {
    border-color: #1977cc;
    outline: none;
}





/* Style the user image as a circle */
.user-img {
    width: 25px; /* Size of the circle */
    height: 25px; /* Size of the circle */
    border-radius: 50%; /* Makes the image round */
    object-fit: cover; /* Ensures the image fits well inside the circle */
    margin-right: 8px; /* Space between the image and username */
    cursor: pointer; /* Cursor changes to pointer on hover */
  }
  
  /* Style the username */
  .username {
    font-size: 14px;
    font-weight: bold;
    vertical-align: middle;
    margin-right: 10px; /* Space between the username and the dropdown */
    cursor: pointer; /* Cursor changes to pointer on hover */
  }
  
  /* Style the dropdown container */
  .login-css {
    position: relative; /* So the dropdown menu can be positioned relative to this container */
  }
  
  /* Dropdown menu initially hidden */
  .dropdown-menu {
    display: none; /* Hide the dropdown by default */
    position: absolute;
    top: 70%; /* Positions the dropdown below the user image */
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 150px; /* Minimum width of the dropdown */
    z-index: 10;
  }
  
  /* Style the dropdown items */
  .dropdown-item {
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-item:hover {
    background-color: #f0f0f0;
    cursor: pointer;
  }
  
  /* Logout button style */
  .logout-btn {
    background-color: #e74c3c; /* Red background */
    color: white;
    border: none;
    padding: 6px 12px;
    width: 100%;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
  }
  
  .logout-btn:hover {
    background-color: #c0392b;
  }
  
  /* Show the dropdown when the container is hovered or clicked */
  .login-css:hover .dropdown-menu {
    display: block; /* Display the dropdown when hovering */
  }
  
  /* For smaller screens, you can tweak the size or appearance */

  
/* General table styling */
table.table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(45deg, #f3f4f6, #e1e5eb); /* Add gradient background */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Add subtle shadow to the table */
    border-radius: 10px; /* Rounded corners for the table */
    overflow: hidden; /* To ensure rounded corners don't break */
}

/* Header styling */
thead {
    background-color: #007bff; /* Blue background for the header */
    color: white;
}

thead th {
    font-size: 13px;
    text-transform: uppercase;
    padding: 15px 12px;
    letter-spacing: 1px;
}

/* Body rows styling */
tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Lighter background for even rows */
}

tbody tr:nth-child(odd) {
    background-color: #ffffff; /* White background for odd rows */
}

tbody tr:hover {
    background-color: #f1f1f1; /* Highlight on row hover */
}

/* Action button styling */
.action-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    margin: 0 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

/* Styling for Edit button */
.edit-btn {
    background-color: #28a745;
}

.edit-btn:hover {
    background-color: #218838;
}

.edit-btn i {
    transition: transform 0.3s ease;
}

/* Styling for Cancel button */
.cancel-btn {
    background-color: #dc3545;
}

.cancel-btn:hover {
    background-color: #c82333;
}

.cancel-btn i {
    transition: transform 0.3s ease;
}

/* Smooth icon scaling effect on hover */
.action-btn i {
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: scale(1.1);
}

/* Table footer styling */
tfoot {
    background-color: #007bff; /* Same blue as header */
    color: white;
}

tfoot th {
    font-size: 13px;
    text-transform: uppercase;
}

/* Responsive table adjustments */
@media (max-width: 768px) {
    th, td {
        padding: 8px 10px;
    }

    .action-btn {
        font-size: 12px;
        padding: 8px;
    }
}




  /* Overlay for modal - hidden by default */
.overlay {
    visibility: hidden; /* Hidden by default */
    opacity: 0; /* Make it invisible */
    transition: visibility 0s, opacity 0.3s ease; /* Smooth transition */
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  
    /* Center modal content */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Show the modal by changing visibility and opacity */
  .overlay.show {
    visibility: visible; /* Show overlay */
    opacity: 1; /* Make it opaque */
  }
  
  /* Modal popup */
  .popup {
    position: relative;
    width: 400px;
    max-width: 90%; /* Responsive for smaller screens */
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  
  
  /* Close button */
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: #333;
    text-decoration: none;
  }
  
  .close:hover {
    color: #ff0000;
  }

  

/* ==================================== kilCss start  (common in every project ) ======================== */



.success-text {
	color: rgb(82, 190, 82);
  font-size: medium;
}

/* .error-text {
	color: rgb(255, 69, 69);
  font-size: large;
} */

.error-text {
  font-size: medium;
	font-weight: bold;
	color: rgb(255, 0, 0);
	background: linear-gradient(45deg, #ff0707, #fe475f);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	animation: heartbeat 1s infinite;
	text-align: center;
  }
  
  @keyframes heartbeat {
	0% {
	  transform: scale(1);
	}
	50% {
	  transform: scale(1.05);
	}
	100% {
	  transform: scale(1);
	}
  }



  .iti__selected-flag {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    height: auto !important;
    padding: 5px 6px 5px 8px !important;
}












.menuhide {
    display: none;
    }


  @media screen and (min-width: 320px) and (max-width: 768px)
 { 
    .tabs {
        display: block;
        justify-content: space-around;
        margin-bottom: 20px;
        background: #f7f9fc;
        border-radius: 10px;
        padding: 5px;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    }
    .calendar-days {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
        margin-top: 15px;
        justify-content:center;
    }
    #timeSlots {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .menuhide {
        display: block;
    }
 }