@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f9f9fb;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
  background: linear-gradient(to right, #6a11cb, #2575fc); /* Purple to Blue */
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}


.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.logo-img {
  height: 100px;
  width: 100px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ff6ec7;
}

/*overall style*/
.overall-container {
  flex: 1; /* grow to fill remaining space */
  padding: 40px 20px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(to right, #a68dde, #9b8ddd); /* Light Blue to Soft Purple */
    color: #fff;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero h1, .hero p {
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn.primary {
    background: linear-gradient(to right, #b79df5, #8a7cf7); /* Soft Purple to Light Purple */
    color: #000;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: background 0.3s ease;
}

.btn.primary:hover {
    opacity: 0.9;
}

/* How It Works Section */
.how-it-works {
    padding: 3rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #6a11cb, #2575fc); /* Purple to Blue */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.step {
    background: #f1f1f1;
    padding: 1.5rem; /* Reduced padding */
    border-radius: 15px;
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, #8a7cf7, #6a11cb); /* Darker gradient */
    color: #fff;
    text-align: center;
    padding: 3rem 2rem;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1rem;
}

.cta h2, .cta p {
    color: #fff; /* Ensure the text is white */
}

/* Testimonials */
.testimonials {
    padding: 3rem 2rem;
    background-color: #f9f9fb;
    text-align: center;
}

.testimonials h2 {
    background: linear-gradient(to right, #6a11cb, #2575fc); /* Purple to Blue */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.testimonials blockquote {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: #555;
}


/* Force full height for page */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Flex container to push footer */
.overall-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Let the content grow to fill space */
.main-content {
  flex: 1;
  padding: 20px;
}

/* Footer styling */
.footer_section {
  background: linear-gradient(to right, #141e30, #243b55);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.footer_section p {
  margin: 0;
  font-size: 0.9rem;
}
#displayYear {
  font-weight: bold;
  color: #ffe53b;
}


/* Hamburger icon hidden on large screens */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .step {
        padding: 1rem; /* Even smaller padding on very small screens */
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: linear-gradient(to right, #6a11cb, #2575fc);
        padding: 1rem 0;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }
}



/*
/*view-applicant */
.status.accepted {
    color: green;
    font-weight: bold;
}

.status.declined {
    color: red;
    font-weight: bold;
}

.accept-btn {
    background-color: #4CAF50;
    color: white;
}

.decline-btn {
    background-color: #f44336;
    color: white;
}
 








/* Login Page Styles */

.log {
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-color: #007BFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
  }

  .login-container h2 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    display: inline-block;
  }

  /* ===== FORM ELEMENTS ===== */

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 20px;
}

.login-container input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    
  }
  

  .login-container input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  }

  .login-container button {
    width: 100%;
    background-color: #3498db;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
  }

  .login-container button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
  }

  .login-container a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
  }

  .login-container a:hover {
    text-decoration: underline;
  }

  .login-container p {
    margin-top: 1.5rem;
    color: #4a5568;
  }

  /* ===== ERROR MESSAGE ===== */
.login-container p[style*="red"] {
    background-color: #ffe5e5;
    padding: 10px;
    border-radius: 6px;
    border-left: 4px solid #e74c3c;
    color: #e74c3c !important;
    margin-bottom: 1rem;
  }

/* ABOUT*/
.about-hero {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(to right, #a68dde, #9b8ddd); /* Light Blue to Soft Purple */
    background-size: cover;
    background-position: center;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.about-hero h1, .about-hero p {
    animation: fadeIn 2s ease-out;
}

/* About Us Section */
.about-us {
    padding: 4rem 2rem;
    text-align: center;
    background: #f9f9fb;
}

.about-us h1 {
    font-size: 2.8rem;
    color: #6a11cb;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-us p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

/* Section Headings */
h2 {
    font-size: 2rem;
    color: #2575fc;
    margin-top: 1.5rem;
    font-weight: 600;
}



/* What We Offer Section */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 1rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

ul li strong {
    font-weight: bold;
    color: #6a11cb;
}

ul li p {
    font-weight: 300;
}

/*Contact section*/
.contact_section {
  background-color: #f9f9f9;
  padding: 4rem 1rem; /* Increased padding */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px); /* Ensure it takes at least the viewport height minus header/footer */
}

.contact-wrapper {
  width: 100%;
  max-width: 600px; /* Maximum width */
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px; /* Slightly larger radius */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0 auto; /* Center horizontally */
}

.contact-wrapper h2 {
  margin-bottom: 2rem;
  color: #333;
  font-size: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.contact-wrapper h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #6a11cb, #2575fc);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Space between form elements */
}

.contact-form input
{
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 0; /* Removed as we're using gap now */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  transition: all 0.3s ease;
}


.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6a11cb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.contact-form button {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.2);
}
    

    .info_form input[type="feedback"] {
      width: 100%;
      padding: 12px 15px;
      border-radius: 8px;
      border: 1px solid #ccc;
      margin-right: 10px;
      transition: border-color 0.3s ease;
    }

    .info_form input[type="feedback"]:focus {
      border-color: #884a2b;
      outline: none;
    }

    .info_form button {
      background-color: #884a2b;
      border: none;
      color: white;
      padding: 12px 15px;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .info_form button:hover {
      background-color: #6e3a21;
    }
  

  .social-box {
    margin: 0;
    border-radius: 30px;
    display:flex;
    justify-content: center;
    align-items: center;
  }
  
  .social-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
   
  }



  .info_contact h4, p {
    color: white;
  }
  
  .icon-box {
    width: 40px;
    height: 40px;
    background-color: #6e3a21; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 6px;
    margin-right: 10px;
    font-size: 20px;
    transition: background 0.3s ease;
  }
  
  .icon-box:hover {
    background-color: #3b5998; /* Darker shade on hover */
  }
  
  .social-name {
    font-size: 14px;
    color: #333;
  }

  .info_detail {
    display: flex;
    justify-content: center;
    align-items: center;
    
  }
  
  
  
  /*job-apply & job-create*/
  .apply-container { width: 800px; margin: 0 auto; background:#fff; padding:20px; border-radius:5px; box-shadow:0 0 10px rgba(0,0,0,0.1);}
        h2 { margin-bottom: 20px; }
        .form-group { margin-bottom: 15px; }
        label { display:block; font-weight:bold; margin-bottom:5px; }
        .app[type="text"],  .app[type="email"],  .app[type="number"], .app[type="password"], textarea,  .app[type="file"], .app[type="url"] {
            width: 100%; padding:8px; box-sizing: border-box; border:1px solid #ccc; border-radius:3px;
        }
        textarea { resize: vertical; height: 120px; }
        button { padding:10px 15px; background:#007BFF; color:#fff; border:none; border-radius:3px; cursor:pointer; }
        button:hover { background:#0056b3; }
        .message { padding:10px; margin-bottom:15px; border-radius: 3px; }
        .success { background: #d4edda; color: #155724; }
        .error { background: #f8d7da; color: #721c24; }

/*job-delete*/
/* ===== CONFIRMATION DIALOG ===== */
.confirmation-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.confirmation-card {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    text-align: left;
}

.confirmation-card p {
    margin-bottom: 0.8rem;
    color: #2d3748;
}

.confirmation-card strong {
    color: #3498db;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin: 0 10px;
}

.btn.delete {
    background-color: #e74c3c;
    color: white;
}

.btn.delete:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.2);
}

.btn.cancel {
    background-color: #95a5a6;
    color: white;
}

.btn.cancel:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(149, 165, 166, 0.2);
}

/*job-detail*/
.job-detail-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .section-title {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    display: inline-block;
  }
  
  .job-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 1rem;
  }
  
  .job-detail-card p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: #4a5568;
  }
  
  .job-detail-card strong {
    color: #2d3748;
    font-weight: 600;
    display: inline-block;
    min-width: 150px;
  }

  /*summary-report*/
  /* Chart container styles */
.chart-container {
  width: 100%;
  margin-bottom: 20px;
}

.chart-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.chart-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
  position: relative;
  height: 400px;
}

/* Print-specific styles */
@media print {
  .chart-row {
      display: block;
  }
  
  .chart-wrapper {
      width: 100% !important;
      height: auto !important;
      min-width: 100%;
      page-break-inside: avoid;
      margin-bottom: 30px;
  }
  
  canvas {
      width: 100% !important;
      height: auto !important;
  }
  
  /* Hide non-essential elements in print */
  .navbar, .footer_section, .print-btn {
      display: none !important;
  }
}

  /*job- view*/
  /* ===== SEARCH FORM ===== */
.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
  }
  
  .search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  }
  
  .search-button {
    background-color: #3498db;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .search-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
  }

  
  .table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    margin-top: 1.5rem;
    overflow-x: auto; /* fallback for small screens */
  }
  
  .table-scroll {
    overflow-x: auto;
    width: 100%;
  }
  
  /* Make table wider than the viewport to enable horizontal scrolling if needed */
  .job-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 0.95rem;
  }
  
  .job-table th {
    background-color: #3498db;
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    white-space: nowrap; /* Prevents header wrapping */
  }
  
  .job-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    white-space: nowrap; /* Prevents data wrapping */
  }
  
  .job-table tr:last-child td {
    border-bottom: none;
  }
  
  .job-table tr:hover {
    background-color: #f8fafc;
  }
  
  
  /* ===== ACTION LINKS ===== */
  .action-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    margin: 0 4px;
    transition: color 0.2s;
  }
  
  .action-link:hover {
    text-decoration: underline;
  }
  
  .action-link.danger {
    color: #e74c3c;
  }
  
  .action-link.apply-btn {
    background-color: #2ecc71;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
  }
  
  .action-link.apply-btn:hover {
    background-color: #27ae60;
    text-decoration: none;
  }

  /* Job Edit */
.form-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-container h2 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.styled-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

.styled-form input[type="text"],
.styled-form input[type="number"],
.styled-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.styled-form textarea {
    min-height: 120px;
    resize: vertical;
}

.styled-form input:focus,
.styled-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.styled-form .btn {
    background-color: #3498db;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1.5rem;
    display: inline-block;
    width: 100%;
}

.styled-form .btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(41, 128, 185, 0.2);
}

.styled-form .btn.back {
    background-color: #e2e8f0;
    color: #2d3748;
    margin-top: 1rem;
    text-align: center;
    text-decoration: none;
}

.styled-form .btn.back:hover {
    background-color: #cbd5e0;
    transform: none;
    box-shadow: none;
}

/*search bar style */

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.search-input, .filter-select, .filter-input, .search-button {
    padding: 8px;
    font-size: 14px;
}

.search-input {
    flex: 2;
    min-width: 180px;
}

.filter-select, .filter-input {
    flex: 1;
    min-width: 120px;
}

.search-button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.profile-box {
    background: #fff;
    padding: 20px;
    margin: 20px auto;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    max-width: 800px;
    line-height: 1.7;
    font-size: 16px;
}

.profile-box p {
    margin: 10px 0;
}

.profile-box ul {
    list-style: disc;
    margin-left: 20px;
}

/*FAQ style*/
.faq-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.title {
  text-align: center;
  color: #007bff;
  font-size: 36px;
  margin-bottom: 30px;
}

details {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px 20px;
  background-color: #fafafa;
  transition: 0.3s ease;
}

summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  align-items: center;
}

summary::marker {
  display: none;
}

summary i {
  margin-right: 10px;
  color: #007bff;
}

details[open] {
  background-color: #e9f5ff;
}

details p {
  margin-top: 10px;
  padding-left: 28px;
}

/*register*/
.reg_container {
  max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  

}
.reg_container {
   
    justify-content: center;
    align-items: center;
}


.reg_container form, option, input {
  padding: 20px;
  border-radius: 40px;
}

.reg_container option, input {
  padding: 20px;
  height: 40px
}

.role-text {
  color: black;

}

/*admin_dashboard*/
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.status-badge {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: bold;
  display: inline-block;
}
.status-pending { background-color: #FFF3CD; color: #856404; }
.status-suspended { background-color: #F8D7DA; color: #721C24; }
.status-active { background-color: #D4EDDA; color: #155724; }
.action-buttons a {
  margin: 0 5px;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}
.btn-approve { background-color: #D4EDDA; color: #155724; }
.btn-suspend { background-color: #FFF3CD; color: #856404; }
.btn-ban { background-color: #F8D7DA; color: #721C24; }
.btn-view { background-color: #D1ECF1; color: #0C5460; }
.no-results { text-align: center; padding: 20px; color: #6C757D; }

/*view-user-profile*/

.viewPro {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto; /* center horizontally with vertical spacing */
  padding: 1.5rem;
  box-sizing: border-box;
  font-size: 0.95rem;

  border: double 5px #000; /* double border */
  text-align: center;      /* center content */
  background-color: #fff;  /* optional: to stand out */
  line-height: 1.6;
}

.viewPro h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.viewPro img {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 150px;
  border-radius: 4px;
}

.resume-section {
  text-align: left;
  margin-left: 0; /* remove any indentation */
  padding-left: 0;
  width: fit-content;
  
}

.resume-section strong {
  display: inline-block;
  width: 140px;
  font-weight: 600;
  text-align: left;

}

.section-label {
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  white-space: nowrap; /* prevents line break */
}


/*message box*/
.message-box {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* semi-transparent black overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.message-content {
  background: #fff;
  padding: 25px 35px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  max-width: 380px;
  width: 90%;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  animation: fadeInScale 0.3s ease forwards;
}

.message-content p {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: #333;
}

.message-content button {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 10px 24px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.message-content button:hover {
  background-color: #0056b3;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/*user -reports*/
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

.search-form input[type="text"] {
  flex: 1;
  min-width: 250px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
}
.search-form input[type="number"] {
  flex: 1;
  min-width: 250px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.search-form input[type="text"]:focus {
  border-color: #4a90e2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.search-form select {
  min-width: 180px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
}

.search-form select:focus {
  border-color: #4a90e2;
  outline: none;
}

.date_range {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date_range label {
  font-weight: 500;
  color: #555;
  white-space: nowrap;
}

.search-form input[type="date"] {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-form button {
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.search-form button:hover {
  background-color: #3a7bc8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-form {
      flex-direction: column;
      align-items: stretch;
  }
  
  .search-form input[type="text"],
  .search-form select,
  .date_range {
      width: 100%;
      min-width: auto;
  }
  
  .date_range {
      flex-wrap: wrap;
  }
  
  .date_range input[type="date"] {
      flex: 1;
      min-width: 120px;
  }
}

.btn { 
  background-color: #28a745;
   color: white;
    border: none; 
    cursor: pointer; }

/*message box style*/

       
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s ease;
        }
        
        .modal-content {
            background-color: white;
            width: 90%;
            max-width: 400px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            transform: translateY(0);
            animation: slideUp 0.3s ease;
        }
        
        .modal-header {
            padding: 20px;
            background-color: #4a6fa5;
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .modal-body {
            padding: 25px;
            font-size: 1rem;
            line-height: 1.5;
            color: #555;
        }
        
        .modal-footer {
            padding: 15px 20px;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            background-color: #f8f9fa;
            border-top: 1px solid #eee;
        }
        
        .modal-btn {
            padding: 8px 20px;
            border-radius: 6px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }
        
        .modal-btn-confirm {
            background-color: #4a6fa5;
            color: white;
        }
        
        .modal-btn-confirm:hover {
            background-color: #3a5a8a;
            transform: translateY(-1px);
        }
        
        .modal-btn-cancel {
            background-color: #f1f1f1;
            color: #555;
        }
        
        .modal-btn-cancel:hover {
            background-color: #e1e1e1;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideUp {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
 








        
     







