body {
    background-color: #0f0c15; /* Ye wahi exact dark shade hai jo dashboard ka hai */
    margin: 0;
    padding: 0;
}

.container { max-width: 1000px; margin: 0 auto; padding: 20px; }
.employee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.employee-card { background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.emp-img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.task-list { list-style: none; padding: 0; font-size: 0.9rem; }
.task-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.task-row input { flex: 1; padding: 8px; border: 1px solid #ddd; border-radius: 4px; }
.btn-submit { background: #28a745; color: white; border: none; padding: 10px 20px; cursor: pointer; border-radius: 5px; }
.btn-add { background: #0073aa; color: white; border: none; padding: 10px; cursor: pointer; margin-right: 10px; border-radius: 5px; }
.date-header { background: #f4f4f4; padding: 10px; margin: 20px 0; border-radius: 4px; }

header.head{
        background: white;
}
/* Auth Layout */
.auth-container {
    display: flex;
    height: 700px;
    background: #0f0c15; /* Dark background */
    color: #fff;
    overflow: hidden;
}

.auth-banner {
    flex: 1.2;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 60px;
}

.auth-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(15,12,21,0.8));
}

.banner-content { position: relative; z-index: 2; }
.banner-content h1 { font-size: 48px; margin-bottom: 20px; font-weight: 400; }

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #16131c;
}

.auth-box { width: 100%; max-width: 400px; }
.auth-box h2 { font-size: 32px; margin-bottom: 30px; }

.flex-row { display: flex; gap: 15px; }
.auth-box input {
    width: 100%;
    background: #231f2b;
    border: 1px solid #322d3d;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.btn-auth {
    width: 100%;
    background: #5d4699; /* Purple Button */
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

/* .btn-auth:hover { background: #6e56b1; } */

.toggle-text { text-align: center; margin-top: 20px; color: #aaa; }
.toggle-text a { color: #fff; text-decoration: none; font-weight: bold; }

.checkbox-container { font-size: 13px; color: #aaa; display: block; margin-bottom: 20px; }

.dashboard-container { margin-top: 50px; background: #fff; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.emp-profile-card { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }

.emp-info-main { display: flex; align-items: center; gap: 20px; }

.dash-profile-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #5d4699; }

.designation-badge { background: #f0ecf9; color: #5d4699; padding: 5px 15px; border-radius: 20px; font-weight: 600; font-size: 14px; margin-top: 5px; display: inline-block; }

.logout-btn-dash { color: #ff4d4d; text-decoration: none; font-weight: 600; border: 1px solid #ff4d4d; padding: 8px 20px; border-radius: 8px; transition: 0.3s; }
.logout-btn-dash:hover { background: #ff4d4d; color: #fff; }

.dash-divider { border: 0; border-top: 1px solid #eee; margin: 30px 0; }

/* Form Styling */
.task-form-wrapper h3 { margin-bottom: 25px; color: #333; font-weight: 500; }

.btn-primary-dash { background: #5d4699; color: white; border: none; padding: 12px 30px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.btn-secondary-dash { background: #f8f9fa; color: #333; border: 1px solid #ddd; padding: 12px 25px; border-radius: 8px; cursor: pointer; margin-right: 15px; }

.star-bullet { font-size: 18px; color: #ffca08; }


.dash-wrapper { display: flex; height: 100vh; background: #0f0c15; color: #fff; }

/* Sidebar */
.dash-sidebar { width: 300px; background: #16131c; border-right: 1px solid #231f2b; padding: 30px; display: flex; flex-direction: column; }
.sidebar-user { text-align: center; margin-bottom: 40px; }
.profile-upload-wrap { position: relative; width: 100px; margin: 0 auto 15px; }
#profile-preview { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #5d4699; }
.img-edit-btn { position: absolute; bottom: 0; right: 0; background: #5d4699; border: none; color: white; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.badge { background: #5d469933; color: #a286f4; padding: 4px 12px; border-radius: 15px; font-size: 12px; }

.past-logs h4 { font-size: 14px; color: #555; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1px; }
.past-logs ul { list-style: none; padding: 0; }
.past-logs li a { display: block; padding: 12px; color: #aaa; text-decoration: none; border-radius: 8px; margin-bottom: 5px; transition: 0.2s; }
.past-logs li a:hover, .past-logs li a.active { background: #231f2b; color: #fff; }

/* Main Content */
.dash-main { flex: 1; padding: 60px; overflow-y: auto; background: linear-gradient(135deg, #0f0c15 0%, #16131c 100%); }
.dash-main-header { margin-bottom: 40px; }
.dash-main-header h2 { font-size: 32px; margin-bottom: 5px; }

.task-row { display: flex; align-items: center; gap: 15px; background: #1c1825; padding: 15px; border-radius: 12px; margin-bottom: 15px; border: 1px solid #231f2b; }
.task-row input { flex: 1; background: transparent; border: none; color: white; outline: none; font-size: 16px; }
.star { color: #ffca08; font-size: 20px; }
.remove-task { background: transparent; border: none; color: #ff4d4d; font-size: 24px; cursor: pointer; }

.form-actions { margin-top: 30px; display: flex; gap: 20px; }
.btn-submit { background: #5d4699; color: white; border: none; padding: 15px 40px; border-radius: 10px; cursor: pointer; font-weight: bold; }
.btn-ghost { background: transparent; border: 1px dashed #5d4699; color: #a286f4; padding: 15px 30px; border-radius: 10px; cursor: pointer; }

.logout-link { margin-top: auto; color: #ff4d4d; text-decoration: none; font-weight: bold; padding-top: 20px; border-top: 1px solid #231f2b; }

.alert-success {
    background: #28a74522;
    color: #28a745;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #28a74544;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.highlight-date {
    color: #5d4699;
    font-weight: bold;
    background: #5d469911;
    padding: 2px 8px;
    border-radius: 4px;
}
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-info { background: rgba(0, 123, 255, 0.2); color: #007bff; border: 1px solid #007bff44; }
.alert-danger { background: rgba(220, 53, 69, 0.2); color: #dc3545; border: 1px solid #dc354544; }

.wizard-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 12, 21, 0.98); z-index: 9999;
    display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px);
}
.wizard-modal {
    background: #16131c; border: 1px solid #231f2b; padding: 40px;
    border-radius: 20px; width: 450px; text-align: center;
}
.wizard-header h3 { color: #a286f4; margin-bottom: 5px; }
.step-counter { color: #555; font-size: 12px; }
.wizard-body h2 { color: #fff; margin: 25px 0; }
.wizard-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.option-card input { display: none; }
.option-content { background: #1c1825; padding: 15px; border-radius: 10px; border: 1px solid #231f2b; cursor: pointer; color: #aaa; transition: 0.3s; }
.option-card input:checked + .option-content { border-color: #a286f4; background: #5d469933; color: #fff; }
#wizard-next-btn { width: 100%; padding: 15px; }

.status-msg {
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
}
.status-msg.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px dashed #ffc107;
}
.status-msg.leave {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc354544;
}

.auth-alert {
    background: rgba(239, 83, 80, 0.1);
    color: #ef5350;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(239, 83, 80, 0.2);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px; /* Icon ke liye jagah */
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    transition: 0.3s;
    z-index: 10;
}

.toggle-password:hover {
    color: #a286f4; /* Hover par hamara theme color */
}
.auth-box .alert-danger a{
    display: none;
}
.auth-box .alert-danger{
    flex-wrap: wrap;
}
/* ---------------------------------------------------------index page--------- */
/* Feed Container Styling */
.feed-container {
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
    color: #fff;
}
.container-login{
      max-width: 1400px;
    margin: 0 auto;
    border-radius: 20px;
    margin-bottom: 50px;
}
p{
  font-size: 16px  
}
.task-body ul li{
    font-size: 16px;
}
.feed-header-section {
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a286f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.sub-title { color: #888; font-size: 16px; }

/* Date Dividers */
.date-divider {
    display: flex;
    align-items: center;
    margin: 40px 0 30px;
}
.date-divider span {
    background: #1c1825;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid #231f2b;
    font-size: 14px;
    color: #a286f4;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.date-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #231f2b, transparent);
    margin-left: 20px;
}

/* Employee Grid & Cards */
.employee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.employee-card {
    background: #16131c;
    border-radius: 20px;
    border: 1px solid #231f2b;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.employee-card:hover {
    transform: translateY(-5px);
    border-color: #5d4699;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.card-inner { padding: 25px; }

/* Avatar & Info */
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.emp-avatar-wrap { position: relative; }
.emp-img {
    width: 55px; height: 55px;
    border-radius: 15px;
    object-fit: cover;
    border: 2px solid #231f2b;
}

.status-indicator {
    position: absolute; bottom: -2px; right: -2px;
    width: 14px; height: 14px;
    background: #4caf50;
    border-radius: 50%;
    border: 3px solid #16131c;
}

.emp-info strong { display: block; font-size: 18px;
        text-transform: capitalize;
 color: #fff; }
.designation { font-size: 13px; color: #666; }

/* Task List */
.task-list { list-style: none; padding: 0; margin: 0; }
.task-list li {
    background: #1c1825;
    margin-bottom: 8px;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 14px;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}
.task-list li i { color: #a286f4; font-size: 12px; }

/* Status Messages */
.status-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    gap: 10px;
}

.leave-msg { background: rgba(239, 83, 80, 0.05); color: #ef5350; border: 1px dashed rgba(239, 83, 80, 0.2); }
.pending-msg { background: rgba(255, 193, 7, 0.05); color: #ffc107; border: 1px dashed rgba(255, 193, 7, 0.2); }

.status-msg i { font-size: 24px; }
.status-msg span { font-size: 14px; font-weight: 500; }

/* View More Button */
.feed-footer { text-align: center; margin-top: 60px; }
.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(var(--angle), #a855f7, #6366f1, #06b6d4, #a855f7);
  animation: borderSpin 4s linear infinite;
  transition: filter 0.3s ease, transform 0.2s ease;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(162, 134, 244, 0.2);
}
/* .view-more-btn:hover { background: #8e74e0; transform: scale(1.05); } */

/* Responsive */
@media (max-width: 768px) {
    .main-title { font-size: 32px; }
    .employee-grid { grid-template-columns: 1fr; }
}


/* Hidden tasks initial state */
.hidden-task {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Button Styling */
.read-more-tasks {
    background: transparent;
    border: none;
    color: #a286f4;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 5px 0;
    transition: 0.3s;
}

.read-more-tasks:hover { color: #fff; }
.read-more-tasks i { transition: transform 0.3s ease; }

/* Jab expand ho jaye */
.read-more-tasks.active i {
    transform: rotate(180deg);
}

.task-list.expanded .hidden-task {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.hidden-task{
    position: absolute;
    top: 0;
}
.task-list.has-more.expanded .hidden-task{
       position: relative;
 
}

/* Header Base */
.site-header {
    background: rgba(22, 19, 28, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 10px;
    z-index: 9999;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }

/* Desktop Navigation */
.nav-list { list-style: none; display: flex; gap: 30px; margin: 0; }
.nav-list li a { color: #aaa; text-decoration: none; font-weight: 500;
    font-size: 20px;
     transition: 0.3s; }
.nav-list li a:hover { color: #a286f4; }
.nav-list ul{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.nav-list li{ list-style: none;
}
/* Hamburger Icon Styling */
.hamburger-menu {
    display: none; /* Desktop par hidden */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
}
.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transition: 0.3s;
}

/* Responsive Logic (Tablet & Mobile) */
@media (max-width: 992px) {
    .mobile-logout {
        margin-top: auto;
        color: #ef5350;
        text-decoration: none;
        font-weight: 600;
        border-top: 1px solid #231f2b;
        padding-top: 20px;
    }

    /* Hamburger Animation to 'X' */
    .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-menu.active span:nth-child(2) { opacity: 0; }
    .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
.logo-area img{
        width: 150px;
    height: 66px;
}
.container-fluid {
    max-width: 900px;
    margin: 0 auto;
}
.container-fluid.site-header{
    padding: 16px 35px;
    border-radius: 45px;
}
.site-header {
    /* 1. Transparent Background with Gradient */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    
    /* 2. Blur Effect (Glass ka sab se zaroori hissa) */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Safari support */
    
    /* 3. Glass Border (Halki safaid chamak) */
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* 4. Soft Shadow taake card background se utha hua lage */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Hover par thoda sa zyada glow dene ke liye */
.site-hmeader:hover {
    border: 1px solid rgba(162, 134, 244, 0.3); /* Hamara theme violet color */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    transform: translateY(-5px);
}
.header-actions a{
         text-decoration: none;
         color: white;
}
h1, h2, h3, h4, h5, h6{
    font-family: 'Orbitron', sans-serif;
}
.banner-content img{
    width: 100px;
}
.container-footer{
    max-width: 1300px;
    margin: 0 auto;
}
.site-footer {
    background: #0f0c15; /* Same as body bg */
    border-top: 1px solid rgba(162, 134, 244, 0.1);
    padding: 60px 0 0;
    color: #cecad9;
}

.footer-grid {
       display: flex;
    padding-bottom: 40px;
    justify-content: space-between;
}

/* About Section */
.footer-logo { font-size: 24px; color: #fff; margin-bottom: 15px; }
.footer-logo span { color: #a286f4; }
.footer-about p {
    font-size: 16px;
    line-height: 1.6;
    color: #bdbdbd;
    padding-top: 10px;
    max-width: 300px;
     }

/* Links Section */
.footer-links h4, .footer-status h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { 
    color: #888; 
    text-decoration: none; 
    transition: 0.3s; 
    font-size: 14px;
}
.footer-links ul li a:hover { color: #a286f4; padding-left: 5px; }

/* Status Section */
.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}
.status-item i { color: #a286f4; }

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgb(255 255 255 / 23%);
    text-align: center;

}
.footer-bottom strong{
     color: #a286f4;
}
.footer-bottom p { font-size: 13px; color: #555; margin: 0; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-about p { max-width: 100%; }
}

.footer-logo-wrap img{
    width: auto;
    height: 70px;
}
.partners-list{
    padding-top: 20px;
        text-align: center;
    
}
.footer-grid h4{
font-size: 23px;
}
.partner-item img{
        width: auto;
    /* margin: 10px 0px; */
    height: 60px;
}
.footer-status span{
    font-size: 16px;
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderSpin {
  to { --angle: 360deg; }
}

.btn-auth {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(var(--angle), #a855f7, #6366f1, #06b6d4, #a855f7);
  animation: borderSpin 4s linear infinite;
  transition: filter 0.3s ease, transform 0.2s ease; /* sirf filter aur scale */
  cursor: pointer;
}
.header-actions.view-more-btn{
      background: linear-gradient(var(--angle), #a855f7, #6366f1, #06b6d4, #a855f7);
  animation: borderSpin 4s linear infinite;
  transition: filter 0.3s ease, transform 0.2s ease;
}
.view-more-btn,
.header-actions.view-more-btn:hover {
  filter: brightness(1.2);
  transform: scale(1.02);
}
.view-more-btn,
.btn-auth:hover {
  filter: brightness(1.2);
  transform: scale(1.02);
}
.view-more-btn::before,
.btn-auth::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: linear-gradient(var(--angle), #a855f7, #6366f1, #06b6d4, #a855f7);
  animation: borderSpin 4s linear infinite;
  z-index: -1;
  filter: blur(8px);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.view-more-btn:hover::before,
.btn-auth:hover::before {
  opacity: 1; /* glow thoda zyada ho jata hai hover par */
}
* {
  font-family: 'Sora', sans-serif;
}


/* Office Holiday Banner */
.office-holiday-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #1a1035, #2d1f5e);
    border: 1px solid rgba(160, 120, 255, 0.25);
    border-radius: 16px;
    padding: 28px 36px;
    margin: 10px 0 20px;
}

.office-holiday-banner .fa-umbrella-beach {
    font-size: 42px;
    color: #a78bfa;
    flex-shrink: 0;
}

.holiday-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.holiday-text strong {
    font-size: 22px;
    color: #e2d9ff;
    font-weight: 600;
}

.holiday-text span {
    font-size: 14px;
    color: #9d8ec4;
}

.calendar-filter-wrap {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(162, 134, 244, 0.2);
    backdrop-filter: blur(10px);
}

.glass-input-date {
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.clear-filter {
    color: #ef5350;
    font-size: 18px;
    margin-left: 5px;
    transition: 0.3s;
}

.clear-filter:hover { transform: scale(1.2); }

/* Custom calendar icon color */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

