html, * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f0f23;
    color: #e1e5e9;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode {
    background-color: #f4f7fa;
    color: #2d3748;
}

.admin-panel {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: #1a1a2e;
    color: #e1e5e9;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    z-index: 1000;
}

body.light-mode .sidebar {
    background-color: #ffffff;
    color: #2d3748;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
}

.logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #16213e;
    background-color: #0f0f23;
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-mode .logo {
    background-color: #f4f7fa;
    border-bottom: 1px solid #e2e8f0;
}

.logo h2 {
    font-size: 24px;
    font-weight: 600;
    color: #6c5ce7;
}

body.light-mode .logo h2 {
    color: #4a3aff;
}

.logo p {
    font-size: 12px;
    color: #a0a3bd;
    margin-top: 5px;
    transition: color 0.3s ease;
}

body.light-mode .logo p {
    color: #718096;
}

.close-sidebar {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #b2b7c2;
    cursor: pointer;
    transition: color 0.3s ease;
}

body.light-mode .close-sidebar {
    color: #718096;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    border-bottom: 1px solid #16213e;
    transition: border-color 0.3s ease;
}

body.light-mode .nav-item {
    border-bottom: 1px solid #e2e8f0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #b2b7c2;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

body.light-mode .nav-link {
    color: #383838;
}

.nav-link:hover {
    background-color: #16213e;
    padding-left: 25px;
    color: #e1e5e9;
}

body.light-mode .nav-link:hover {
    background-color: #e2e8f0;
    color: #2d3748;
}

.nav-link.active {
    background-color: #6c5ce7;
    border-right: 3px solid #a29bfe;
    color: #ffffff;
}

body.light-mode .nav-link.active {
    background-color: #145369;
    border-right: 3px solid #5c5cff;
    color: white;
}

.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    font-size: 20px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    background-color: #0f0f23;
    transition: margin-left 0.3s ease, background-color 0.3s ease;
    width: calc(100% - 260px);
}

body.light-mode .main-content {
    background-color: #f4f7fa;
}

/* Header */
.header {
    background-color: #1a1a2e;
    padding: 15px 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #16213e;
    position: sticky;
    z-index: 1;
    top: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.header-breadcrumb {
    display: block;
    padding: 2px 30px;
    background: #8080c03b;
    font-size: 10px;
    font-family: monospace;
    word-spacing: -2px;
    letter-spacing: -0.25px;
}

body.light-mode .header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.hamburger {
    display: none;
    font-size: 24px;
    color: #b2b7c2;
    cursor: pointer;
    transition: color 0.3s ease;
}

body.light-mode .hamburger {
    color: #718096;
}

.hamburger.active::before {
    content: '\f00d'; /* Font Awesome 'times' icon for close */
}

.header-title {
    font-size: 28px;
    font-weight: 600;
    color: #e1e5e9;
    transition: color 0.3s ease;
}

body.light-mode .header-title {
    color: #2d3748;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    padding: 8px 12.45px;
    background-color: #16213e;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #b2b7c2;
    font-size: 20px;
}

body.light-mode .notification-bell {
    background-color: #edf2f7;
    color: #383838;
}

.notification-bell:hover {
    background-color: #6c5ce7;
    color: #ffffff;
}

body.light-mode .notification-bell:hover {
    background-color: #4a3aff;
    color: #ffffff;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #fd79a8;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

body.light-mode .profile-avatar {
    background-color: #4a3aff;
}

.profile-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #e1e5e9;
    transition: color 0.3s ease;
}

body.light-mode .profile-info h3 {
    color: #2d3748;
}

.profile-info p {
    font-size: 12px;
    color: #a0a3bd;
    transition: color 0.3s ease;
}

body.light-mode .profile-info p {
    color: #718096;
}

.theme-toggle {
    cursor: pointer;
    padding: 8px 11.2px;
    background-color: #16213e;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #b2b7c2;
    font-size: 20px;
}

body.light-mode .theme-toggle {
    background-color: #edf2f7;
    color: #383838;
}

.theme-toggle:hover {
    background-color: #6c5ce7;
    color: #ffffff;
}

body.light-mode .theme-toggle:hover {
    background-color: #4a3aff;
    color: #ffffff;
}

/* Dashboard Content */
.dashboard-content {
    padding: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border: 1px solid #2d3748;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.light-mode .stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
}

body.light-mode .stat-card::before {
    background: linear-gradient(45deg, #4a3aff, #7f73ff);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(108, 92, 231, 0.2);
}

body.light-mode .stat-card:hover {
    box-shadow: 0 12px 35px rgba(74, 58, 255, 0.2);
}

.stat-card:nth-child(2)::before { background: linear-gradient(45deg, #00b894, #00cec9); }
.stat-card:nth-child(3)::before { background: linear-gradient(45deg, #fdcb6e, #e17055); }
.stat-card:nth-child(4)::before { background: linear-gradient(45deg, #fd79a8, #e84393); }

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stat-title {
    font-size: 14px;
    color: #a0a3bd;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

body.light-mode .stat-title {
    color: #718096;
}

.stat-icon {
    width: 30px;
    height: 30px;
    font-size: 30px;
    opacity: 0.8;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #e1e5e9;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

body.light-mode .stat-number {
    color: #2d3748;
}

.stat-change {
    font-size: 12px;
    color: #00b894;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

.content-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    overflow: hidden;
    border: 1px solid #2d3748;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.light-mode .content-card {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #2d3748;
    background: linear-gradient(135deg, #16213e 0%, #0f0f23 100%);
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.light-mode .card-header {
    background: linear-gradient(135deg, #f4f7fa 0%, #edf2f7 100%);
    border-bottom: 1px solid #e2e8f0;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #e1e5e9;
    transition: color 0.3s ease;
}

body.light-mode .card-title {
    color: #2d3748;
}

.card-content {
    padding: 25px;
}
.card-content.notification p, p.notification_credit {
    margin-top: 10px;
    font-size: 10px;
}

.recent-activities {
    list-style: none;
}
.recent-activities a {
    text-decoration:none;
}

.activity-item {
    position: relative;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #2d3748;
    transition: border-color 0.3s ease;
}

body.light-mode .activity-item {
    border-bottom: 1px solid #e2e8f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
    transition: background 0.3s ease;
    position: absolute;
    top: 15px;
}

body.light-mode .activity-avatar {
    background: linear-gradient(45deg, #4a3aff, #7f73ff);
}
.activity-details {
    margin-left: 60px;
    word-break: break-all;
}
.activity-details h4 {
    font-size: 13px;
    font-weight: 600;
    color: #e1e5e9;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

body.light-mode .activity-details h4 {
    color: #2d3748;
}

.activity-details p {
    font-size: 12px;
    color: #a0a3bd;
    transition: color 0.3s ease;
}

body.light-mode .activity-details p {
    color: #718096;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #2d3748 0%, #1a1a2e 100%);
    border: 1px solid #2d3748;
    border-radius: 8px;
    text-decoration: none;
    color: #b2b7c2;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

body.light-mode .action-btn {
    background: linear-gradient(135deg, #f4f7fa 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
}
body.light-mode .quick-actions .action-btn {
    color: #383838;
}

body.light-mode .action-btn:hover, .action-btn:hover {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border-color: #6c5ce7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

body.light-mode .action-btn:hover {
    background: linear-gradient(135deg, #4a3aff 0%, #7f73ff 100%);
    border-color: #4a3aff;
    box-shadow: 0 5px 15px rgba(74, 58, 255, 0.3);
}

.action-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    font-size: 18px;
}

.calendar-widget {
    text-align: center;
    padding: 20px;
}

.current-date {
    font-size: 36px;
    font-weight: 700;
    color: #6c5ce7;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

body.light-mode .current-date {
    color: #4a3aff;
    text-shadow: none;
}

.current-month {
    font-size: 16px;
    color: #a0a3bd;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

body.light-mode .current-month {
    color: #718096;
}

.upcoming-events {
    text-align: left;
}

.event-item {
    padding: 8px 0;
    border-bottom: 1px solid #2d3748;
    font-size: 13px;
    transition: border-color 0.3s ease;
}

body.light-mode .event-item {
    border-bottom: 1px solid #e2e8f0;
}

.event-date {
    color: #6c5ce7;
    font-weight: 600;
    transition: color 0.3s ease;
}

body.light-mode .event-date {
    color: #4a3aff;
}

.event-title {
    color: #b2b7c2;
    margin-top: 3px;
    transition: color 0.3s ease;
}

body.light-mode .event-title {
    color: #718096;
}

.notifications-dropdown {
    position: absolute;
    top: 67px;
    right: 20px;
    background: #1a1a2e;
    border: 1px solid #2d3748;
    border-radius: 8px;
    width: 300px;
    max-height: 400px;
    display: none;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.notifications-dropdown-list {
    overflow: auto;
    max-height: 350px;
}

body.light-mode .notifications-dropdown {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.notifications-dropdown.active {
    display: block;
}

.notifications-dropdown.active::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 49px;
    border: 5px solid transparent;
    border-bottom-color: #2d3748;
    transition: border-bottom-color 0.3s ease;
}

body.light-mode .notifications-dropdown.active::before {
    border-bottom-color: #e2e8f0;
}

.notifications-dropdown.active::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50px;
    border: 4px solid transparent;
    border-bottom-color: #1a1a2e;
    transition: border-bottom-color 0.3s ease;
}

body.light-mode .notifications-dropdown.active::after {
    border-bottom-color: #ffffff;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid #2d3748;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-mode .notification-item {
    border-bottom: 1px solid #e2e8f0;
}

.notification-item:hover {
    background-color: #16213e;
}

body.light-mode .notification-item:hover {
    background-color: #edf2f7;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item h4 {
    font-size: 14px;
    color: #e1e5e9;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

body.light-mode .notification-item h4 {
    color: #2d3748;
}

.notification-item p {
    font-size: 12px;
    color: #a0a3bd;
    transition: color 0.3s ease;
}

body.light-mode .notification-item p {
    color: #718096;
}
.logo_holder img {
    max-width: 200px;
    max-height: 50px;
}
.color_border {
    position: relative;
    border-radius: 20px;
    z-index: 1;
    margin-top:10px !important;
    color:white;
  }
  
.color_border::before {
    content: '';
    position: absolute;
    top: -7.5px;
    left: -7.5px;
    right: -7.5px;
    bottom: -7.5px;
    background: linear-gradient(270deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
    border-radius: 30px;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
    background-size: 300% 300%;
}
  
.color_border::after {
    content: '';
    position: absolute;
    top: -2.5px;
    left: -2.5px;
    right: -2.5px;
    bottom: -2.5px;
    background: #1a1a2e;
    border-radius: 25px;
    z-index: -1;
}
body.light-mode .color_border::after {
    background: #f4f7fa;
}

.logo p a.credit {
    color:#fff;
    font-weight: 500;
}
body.light-mode .logo p a.credit {
    color:#6c5ce7;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.login-container .theme-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
}
.login-container .theme-toggle i.fas.fa-moon, .header-actions .fas.fa-moon {
    padding: 0 2.5px;
}
.login-container {
    position:relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border: 1px solid #2d3748;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.3s ease;
}
.login-container-holder {
    height: 100vh;
    justify-content: center;
    display: flex;
    align-items: center;
}
body.light-mode .login-container {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #e1e5e9;
    margin-bottom: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

body.light-mode .login-title {
    color: #2d3748;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #a0a3bd;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    text-align: left;
}

body.light-mode .form-label {
    color: #718096;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #2d3748;
    border-radius: 8px;
    background-color: #16213e;
    color: #e1e5e9;
    font-size: 14px;
    transition: all 0.3s ease;
}

input[type=checkbox], input[type=radio] {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.label-text-beside-input {
    display: inline-block;
    vertical-align: middle;
    max-width: 300px;
    padding-left: 10px;
}

body.light-mode .form-input {
    border: 1px solid #e2e8f0;
    background-color: #edf2f7;
    color: #2d3748;
}

.form-input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.3);
}

body.light-mode .form-input:focus {
    border-color: #4a3aff;
    box-shadow: 0 0 8px rgba(74, 58, 255, 0.3);
}
.moreNotifications {
    background: linear-gradient(0, #1a1a2e, #16213d);
    width: 100%;
    max-height: 400px;
    color: white;
    padding: 5px;
    font-size: 12px;
    border-radius: 0 0 8px 8px;
    cursor:pointer;
    border:0;
}
body.light-mode .moreNotifications {
    color: #535353;
    background: linear-gradient(180deg, #f3f6f9 0%, #eef3f7 100%);
}
.login-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-mode .login-button {
    background: linear-gradient(135deg, #4a3aff 0%, #7f73ff 100%);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}
.faculty-add-container {
    max-width:inherit;
}

.google-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2d3748 0%, #1a1a2e 100%);
    border: 1px solid #2d3748;
    border-radius: 8px;
    color: #b2b7c2;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

body.light-mode .google-auth-button {
    background: linear-gradient(135deg, #f4f7fa 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    color: #009688;
}

.google-auth-button:hover {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border-color: #6c5ce7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

body.light-mode .google-auth-button:hover {
    background: linear-gradient(135deg, #4a3aff 0%, #7f73ff 100%);
    border-color: #4a3aff;
    color: white;
}

.google-auth-button i {
    margin-right: 10px;
    font-size: 18px;
}

.forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor:pointer;
}

body.light-mode .forgot-password-link {
    color: #4a3aff;
}

.forgot-password-link:hover {
    color: #a29bfe;
    text-decoration: underline;
}

body.light-mode .forgot-password-link:hover {
    color: #7f73ff;
}
.notification-box {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    z-index: 3000;
    opacity: 1;
    animation: slideIn 0.5s ease-in-out, fadeOut 0.5s ease-in-out 4.5s forwards;
    max-width:450px;
}

body.light-mode .notification-box {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}
.notification-box.success-notification {
    background: linear-gradient(180deg, #559214 0%, #346500 100%);
}
.notification-box.failed-notification {
    background: linear-gradient(180deg, #921414 0%, #650000 100%);
}
.loader_holder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loader {
    color: white;
    padding: 20px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
}
.loader_spinner {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #fff;
    display: block;
    vertical-align: middle;
    margin: 10px auto;
}
.loader_spinner:before,
.loader_spinner:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  transform: rotateX(70deg);
  animation: 1s spin linear infinite;
}
.loader_spinner:after {
  color: #FF3D00;
  transform: rotateY(70deg);
  animation-delay: .4s;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}
@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}
.progress-holder {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    z-index: 9999;
    text-align: center;
}

.progress-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.progress-content p {
    margin-bottom: 15px;
}

.progress-spinner {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #fff;
    display: block;
    margin: 10px auto;
}

.progress-spinner:before,
.progress-spinner:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}

.progress-spinner:after {
    color: #FF3D00;
    transform: rotateY(70deg);
    animation-delay: .4s;
}

.progress-container {
    width: 200px;
    height: 6px;
    background-color: #2d3748;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

body.light-mode .progress-container {
    background-color: #e2e8f0;
}

.progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    transition: width 0.3s ease;
}

body.light-mode .progress-bar {
    background: linear-gradient(135deg, #4a3aff 0%, #7f73ff 100%);
}

/* Table Container */
.table-container {
    max-height: 600px;
    overflow: auto;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #2d3748;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    margin: 0 auto;
    position: relative;
}

body.light-mode .table-container {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Table Styling */
.sticky-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    color: #e1e5e9;
    background-color: transparent;
    table-layout: auto;
}

body.light-mode .sticky-table {
    color: #2d3748;
}

/* Fixed Headers */
.sticky-table thead tr {
    position:relative;
}
.sticky-table th {
    position: sticky;
    top: -1px;
    background: #16213e;
    color: #e1e5e9;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #2d3748;
    bottom: -1px;
    border-top:0;
}

.sticky-table th.loadmoreth {
     background: #1f438a;
 }

body.light-mode .sticky-table th {
    background: #f4f7fa;
    color: #2d3748;
    border: 1px solid #e2e8f0;
}
body.light-mode .sticky-table th.loadmoreth {
    background: #2f2f2f;
    color: white;
 }
/* Table Cells */
.sticky-table td {
    padding: 12px 15px;
    border: 1px solid #2d3748;
    transition: background-color 0.3s ease;
}

body.light-mode .sticky-table td {
    border: 1px solid #e2e8f0;
}

/* Hover Effect */
.sticky-table tr:hover td {
    background-color: #16213e;
}

body.light-mode .sticky-table tr:hover td {
    background-color: #edf2f7;
}

.sticky-table .action-buttons {
    width: 125px;
    min-width: 125px;
    text-align: center;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #2d3748;
    border-radius: 4px;
}

body.light-mode ::-webkit-scrollbar-track {
    background: #e2e8f0;
}

::-webkit-scrollbar-thumb {
    background: #cbc4ff;
    border-radius: 4px;
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: #4a3aff;
}

::-webkit-scrollbar-thumb:hover {
    background: #a29bfe;
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
    background: #7f73ff;
}
.overflowscroll {
    max-height: 450px;
    overflow: auto;
    margin: 10px 0;
}
.more-buttons, .export-buttons {
    padding: 12px 15px;
}

.action-buttons {
    font-size: 0;
}

.action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin:2.5px;
    min-width:40px;
}

.action-btn i {
    font-size: 14px;
}

.edit-btn, .pdf-btn {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 8px 11px;
}

body.light-mode .edit-btn, body.light-mode .pdf-btn {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.edit-btn:hover, .pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.4);
}

.delete-btn {
    background: linear-gradient(135deg, #e17055 0%, #fd79a8 100%);
    color: white;
}

body.light-mode .delete-btn {
    background: linear-gradient(135deg, #e17055 0%, #fd79a8 100%);
}

.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 112, 85, 0.4);
}

.profile-btn, .excel-btn {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
}

body.light-mode .profile-btn, body.light-mode .excel-btn {
    background: linear-gradient(135deg, #4a3aff 0%, #7f73ff 100%);
}

.profile-btn:hover, .excel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}
body.light-mode .letter-btn, .letter-btn {
    background: linear-gradient(135deg, #b89f00 0%, #ce005d 100%);
    color: white;
    padding: 8px 11px;
}
.list-btn {
    background: linear-gradient(135deg, #2d3748 0%, #1a1a2e 100%);
    color: #b2b7c2;
    border: 1px solid #2d3748;
    padding: 8px 8.5px;
}

body.light-mode .list-btn {
    background: linear-gradient(135deg, #f4f7fa 0%, #edf2f7 100%);
    color: #718096;
    border: 1px solid #e2e8f0;
}

.list-btn:hover {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border-color: #6c5ce7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

body.light-mode .list-btn:hover {
    background: linear-gradient(135deg, #4a3aff 0%, #7f73ff 100%);
    border-color: #4a3aff;
    color: white;
}

.hyperlink-btn {
    background: linear-gradient(135deg, #fdcb6e 0%, #ffeaa7 100%);
    color: #2d3748;
}

body.light-mode .hyperlink-btn {
    background: linear-gradient(135deg, #fdcb6e 0%, #ffeaa7 100%);
    color: #2d3748;
}

.hyperlink-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 203, 110, 0.4);
}

@keyframes spin {
    0%, 100% {
        box-shadow: .4em 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: .4em .4em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .4em 0 0px currentcolor;
    }
    37% {
        box-shadow: -.4em .4em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.4em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.4em -.4em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -.4em 0 0 currentcolor;
    }
    87% {
        box-shadow: .4em -.4em 0 0 currentcolor;
    }
}
.message-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border: 1px solid #2d3748;
    z-index: 3000;
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: all 0.3s ease;
}
.message-box.fullsized {
    max-width: 1010px;
    overflow-y: auto;
    max-height: 100vh;
}
.message-box a {
    color:white;
    text-decoration:none;
}
body.light-mode .message-box a {
    color:#383838;
}
.permissionRadioholder h3 {
    text-align: left;
    margin: 5px;
    cursor:pointer;
}
.collapsed {
    max-height: 0;
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.opencollapsed.collapsed {
    max-height: 400px;
}

body.light-mode .message-box {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.message-content p {
    font-size: 16px;
    color: #e1e5e9;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

body.light-mode .message-content p {
    color: #2d3748;
}

.message-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-btn {
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.MessageBoxcheckboxContainer {
    max-height: 220px;
    display: block;
    overflow: auto;
    margin-bottom: 15px;
    text-align: left;
    margin-top: 10px;
}

.csv-checkbox_holder {
    display: block;
    margin: 5px;
}

body.light-mode .message-btn {
    background: linear-gradient(135deg, #4a3aff 0%, #7f73ff 100%);
}

.message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

body.light-mode .message-btn:hover {
    box-shadow: 0 5px 15px rgba(74, 58, 255, 0.3);
}
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 2000; /* Below message-box (z-index: 3000) and progress-holder (z-index: 9999) */
    display: none;
}

body.light-mode .backdrop {
    background: rgba(0, 0, 0, 0.3); /* Slightly lighter for light mode */
}
.input-placeholder {
    color: red;
    margin: 5px 0;
    font-size: 15px;
}
.textaligncenter {
    text-align:center !important;
}
.textalignleft {
    text-align:left !important;
}
.cursorpointer {
    cursor:pointer;
}
.form-row {
    display: flex;
    gap: 20px;
    align-items: center;
    width:100%;
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #2d3748;
    border-radius: 8px;
    background-color: #16213e;
    color: #e1e5e9;
    font-size: 14px;
    transition: all 0.3s ease;
}

body.light-mode .form-select {
    border: 1px solid #e2e8f0;
    background-color: #edf2f7;
    color: #2d3748;
}

.form-select:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.3);
}

body.light-mode .form-select:focus {
    border-color: #4a3aff;
    box-shadow: 0 0 8px rgba(74, 58, 255, 0.3);
}

.add-row-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-mode .add-row-btn {
    background: linear-gradient(135deg, #4a3aff 0%, #7f73ff 100%);
}

.add-row-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}
.remove-first-delete .remove-row-btn:first-child {
    display:none;
}
.remove-row-btn {
    padding: 8px;
    background: linear-gradient(135deg, #e17055 0%, #fd79a8 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-mode .remove-row-btn {
    background: linear-gradient(135deg, #e17055 0%, #fd79a8 100%);
}

.remove-row-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 112, 85, 0.4);
}
.form-rows {
    width:100%;
}
.fadeElement {
    opacity:0.4;
}
.fadeElement .beforedelshow, .ondelshow, .hideit {
    display:none;
}
.fadeElement .ondelshow{
    display:inherit;
}
.permissionRadioholder {
    margin-bottom: 10px;
}
.permissionRadioholder label {
    display: block;
    text-align: left;
    margin: 10px 0;
}
.white17px {
    font-size: 17px;
    color: white;
    vertical-align: middle;
    margin: 0 10px 0 0;
}
.inline {
    display:inline;
}
body.light-mode .white17px {
    color: #383838;
}
.marginright10px {
    margin: 0 10px 0 0;
}
.showhiddenvaliables {
    position: absolute;
    right: 5px;
    top: 5px;
}
.showhiddenvaliables i {
    font-size: 30px;
}
.shortcodetableholder {
    text-align: left;
    background: #ffffff;
    position: absolute;
    right: 25px;
    top: 25px;
    width: 380px;
    padding: 10px;
    z-index: 1;
    border-radius: 10px 0 10px 10px;
    box-shadow: 0px 6px 15px -10px #1a1a2e;
    border: 5px solid #1a1a2e;
    background:#0f0f23;
}
.examRoleAllotmentholder {
    margin-bottom:20px;
}
.examRoleAllotmentholder th {
    text-align:center;
    width: 25%;
}
.shortcodetableholder th, .shortcodetableholder td, .examRoleAllotmentholder th, .examRoleAllotmentholder td {
    padding: 2.5px;
}
body.light-mode .shortcodetableholder {
    background: #ffffff;
    border: 5px solid #ebebeb;
}
.showhiddenvaliables span {
    display: block;
    border-radius: 50%;
    background: #0f0f23;
}
body.light-mode .showhiddenvaliables span {
    background: #ffffff;
}
.dropdown-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    border: 1px solid #2d3748;
    position: relative;
}

body.light-mode .dropdown-section {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    border: 1px solid #e2e8f0;
}

.option-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.preview-section {
    margin-top: 10px;
}

.preview-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border: 1px solid #2d3748;
    padding: 20px;
    transition: all 0.3s ease;
}

body.light-mode .preview-card {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.preview-card h3 {
    font-size: 18px;
    color: #e1e5e9;
    margin-bottom: 15px;
}

body.light-mode .preview-card h3 {
    color: #2d3748;
}

.submit-form-btn, .add-dropdown-btn {
    margin: 10px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-mode .submit-form-btn, body.light-mode .add-dropdown-btn {
    background: linear-gradient(135deg, #4a3aff 0%, #7f73ff 100%);
}

.submit-form-btn:hover, .add-dropdown-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.remove-dropdown-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 8px;
    background: linear-gradient(135deg, #e17055 0%, #fd79a8 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-mode .remove-dropdown-btn {
    background: linear-gradient(135deg, #e17055 0%, #fd79a8 100%);
}

.remove-dropdown-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 112, 85, 0.4);
}
.quantity-checkbox {
    margin: 5px 5px 0 0;
    display: inline-block;
}
.fullsized-input {
    margin:20px;
    width: inherit;
}
[data-tooltip] {
  cursor: pointer;
}
[data-tooltip]:hover {
  position: relative !important;
}
.custom-tooltip {
  visibility: hidden;
  /*width: 120px;*/
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 115%; /* Position above the element */
  bottom: calc(100% + 7.5px); /* Position above the element */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s; /* Instant appearance */
}
[data-tooltip]:hover .custom-tooltip {
  min-width: 100%;
  visibility: visible;
  opacity: 1;
}
.actionholderlabel {
    font-size: 13px;
    margin: 5px 5px 5px 0;
}
.inGroupCheckbox {
    width: 25%;
    display: inline-block;
    padding: 1%;
    vertical-align: top;
    border-top: 1px solid #ffffff33;
    position: relative;
}
.inGroupCheckbox .label-text-beside-input {
    padding-left: 25px;
    display: inline-block;
}
.inGroupCheckbox input {
    position: absolute;
    top: calc(50% - 10px);
}
.searchHolder {
    margin: 10px 0;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    font-size: 0;
    position: relative;
}
.searchHolder .searchField {
    padding: 10px 100px 10px 120px;
    width: 100%;
    border: 5px solid #17213f;
    border-radius: 50px;
    outline: 0;
}
.searchHolder .SearchButton {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 85px;
    border: 0;
    background: linear-gradient(91deg, #16213e, #1a1a2e);
    color: white;
}
.searchHolder #searchIn {
    padding: 2.5px 0 2.5px 5px;
    position: absolute;
    margin: 12.5px 0 12.5px 5px;
    border: 0;
    border-radius: 15px 0 0 15px;
    border-right: 1px solid #16203d;
    color: #353535;
    outline: 0;
}
body.light-mode .searchHolder #searchIn {
    border-right: 1px solid #d8d8d8;
}
body.light-mode .searchHolder .SearchButton {
    background: linear-gradient(91deg, #f4f7fa, #f4f7fa);
    color: #383838;
}
body.light-mode .searchHolder .searchField {
    border: 5px solid #f4f7fa;
}
.selectWidth115px {
    width:115px;
}
.form-container .backgroundwhite {
    padding: 20px;
    background:white;
    color:initial;
}
.paddingtop20px {
    padding-top:20px;
}
.radio-option {
    display: inline-block;
    margin-right: 10px;
}
.ImportantField {
    color: red;
    font-size: 30px;
    line-height: 0;
    font-weight: 800;
    display: inline-block;
    vertical-align: middle;
}
.severalButtonsTogethergrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.severalButtonsTogether {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    padding: 10px 10px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #7f73ff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #cfcfcf;
    font-weight: 400;
    border-left: 2.5px solid #7f73ff;
    position: relative;
    padding-left: 40px;
}
.severalButtonsTogether:nth-child(2) {
    border-color:#e84393;
}
.severalButtonsTogether:nth-child(3n) {
    border-color:#e17055;
}
.severalButtonsTogether:nth-child(4n) {
    border-color:#00cec9;
}
.severalButtonsTogether:nth-child(5n) {
    border-color:#e84393;
}
body.light-mode .severalButtonsTogether {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: #718096;
}
.severalButtonsTogether i {
    position: absolute;
    left: 10px;
    top: 12.5px;
}
.freeboardheader {
    padding: 10px 0;
    margin: 15px 0 15px;
    border-bottom: 1px solid;
    font-size: 15px;
    font-weight: 400;
}
.new-tag {
  background-color: red; /* OrangeRed */
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8em;
  animation: pulse 0.5s infinite alternate; /* Apply the pulse animation */
  display:inline-block;
}

@keyframes pulse {
  from {
    transform: scale(0.5);
  }
  to {
    transform: scale(1);
  }
}
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.active {
		transform: translateX(0);
	}
	.main-content {
		margin-left: 0;
	}
	.hamburger {
		display: block;
	}
	.hamburger.active::before {
		content: '\f00d'; /* Font Awesome 'times' icon for close */
	}
	.close-sidebar {
		display: block;
	}
	.header {
		padding: 15px 20px;
	}
	.header-title {
		font-size: 24px;
		flex-grow: 1;
		text-align: center;
	}
	.header-actions {
		gap: 10px;
	}
	.stats-grid {
		grid-template-columns: 1fr;
	}
	.content-grid {
		grid-template-columns: 1fr;
	}
	.notifications-dropdown {
		width: 90%;
		right: 5%;
		top: 62px;
	}
	.notifications-dropdown.active::before {
		left:inherit;
		right: 54px;
	}
	.notifications-dropdown.active::after {
		left:inherit;
		right: 54px;
	}
	.profile-info {
		display: none;
	}
	.profile-avatar {
		width: 35px;
		height: 35px;
		font-size: 14px;
	}
	.dashboard-content {
		padding: 20px;
	}
	.stat-number {
		font-size: 28px;
	}
	.card-title {
		font-size: 16px;
	}
	.current-date {
		font-size: 32px;
	}
	.notification-box {
		top: 15px;
		right: 15px;
		padding: 12px 15px;
		font-size: 13px;
	}
    .inGroupCheckbox {
        width: 100%;
    }
}
@media (max-width: 480px) {
	.header-title {
		font-size: 20px;
	}
	.notification-bell, .theme-toggle {
		font-size: 18px;
		padding: 6px;
	}
	.notification-badge {
		width: 16px;
		height: 16px;
		font-size: 9px;
	}
	.dashboard-content {
		padding: 15px;
	}
	.stat-card {
		padding: 20px;
	}
	.card-content {
		padding: 20px;
	}
	.notification-box {
		top: 10px;
		right: 10px;
		padding: 10px 12px;
		font-size: 12px;
	}
	.shortcodetableholder {
		width:300px;
	}
	.login-container {
		padding: 20px;
		margin: 15px;
	}
	.dashboard-content .login-container {
		margin: 15px 0;
	}
	.login-title {
		font-size: 24px;
	}
	.form-input {
		padding: 10px;
	}
	.login-button, .google-auth-button {
		padding: 10px;
		font-size: 14px;
	}
	.message-box {
		width: 90%;
		padding: 15px;
	}
	.message-content p {
		font-size: 14px;
	}    
	.message-btn {
		font-size: 12px;
		padding: 8px;
	}
    .form-row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0;
        align-items: center;
        margin-bottom:20px;
    }
}