:root {
  --primary-color: #f4b755;
  --secondary-color: #859098;
  --dark-color: #1b1e20;
  --light-color: #fff;
  --text-color: #a09e9c;
  --box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 8px;
  --sidebar-width: 250px;
}

[data-theme="dark"] {
  --dark-color: #f8f9fa;
  --light-color: #1b1e20;
  --text-color: #d1d1d1;
  --box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  transition: background-color 0.3s ease;
}
      
        .user-profile {
          display: flex;
          align-items: center;
          padding: 10px 15px;
          background-color: rgba(244, 183, 85, 0.1);
          border-radius: var(--border-radius);
          margin-bottom: 20px;
          position: relative;
          transition: var(--transition);
      }
      
      .user-profile:hover {
          background-color: rgba(244, 183, 85, 0.2);
      }
      
      .person-icon {
          width: 40px;
          height: 40px;
          background-color: var(--primary-color);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-right: 15px;
          color: var(--dark-color);
      }
      
      .user-info {
          flex-grow: 1;
      }
      
      .user-info strong {
          display: block;
          color: var(--dark-color);
          font-weight: 600;
      }
      
      .user-info small {
          color: var(--text-color);
          font-size: 0.8em;
      }
      
      .logout-btn {
          color: var(--text-color);
          padding: 8px;
          border-radius: 50%;
          width: 36px;
          height: 36px;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: var(--transition);
          text-decoration: none;
      }
      
      .logout-btn:hover {
          background-color: rgba(244, 183, 85, 0.3);
          color: var(--dark-color);
          transform: rotate(180deg);
      }
      
      .logout-btn i {
          font-size: 1.1em;
      }
/* Dashboard Layout */
.dashboard-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
  width: var(--sidebar-width);
  background: var(--dark-color);
  color: var(--light-color);
  position: fixed;
  height: 100vh;
  transition: var(--transition);
  z-index: 1000;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--light-color) !important;
  text-decoration: none;
}

.sidebar-brand span {
  color: var(--primary-color);
}

.sidebar-menu {
  padding: 20px 0;
}

.sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  position: relative;
}

.sidebar-menu li a {
  display: block;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
  color: var(--light-color);
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-menu li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.sidebar-menu li a.active:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--primary-color);
}

/* Main Content Area */
.main-content {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  padding: 20px;
  transition: var(--transition);
}

/* Top Navigation */
.top-nav {
  background: var(--light-color);
  padding: 15px 20px;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
}

.user-profile {
  display: flex;
  align-items: center;
}

/* Person Icon Style */
.person-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-info small {
  display: block;
  color: var(--text-color);
  font-size: 0.8rem;
}

/* Dashboard Cards */
.dashboard-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.card-title {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.card-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}

/* Translation Services Section */
.translation-services {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 30px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  color: var(--dark-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--secondary-color);
  max-width: 700px;
  margin: 0 auto;
}

.services-row {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  justify-content: center;
}

.service-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  width: 300px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  background: rgba(244, 183, 85, 0.1);
  border-radius: 50%;
  margin: 0 auto 25px;
  color: var(--primary-color);
  font-size: 35px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--dark-color);
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.service-card:hover h3 a {
  color: var(--primary-color);
}

.service-btn {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 30px;
  font-size: 14px;
  transition: var(--transition);
  margin-top: 20px;
  cursor: pointer;
  text-decoration: none;
}

.service-card:hover .service-btn {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
}

/* Invoicing Sections Cards */
.invoicing-sections {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 30px;
}

.section-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.section-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-card-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-card-title {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-card-desc {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.section-card-btn {
  display: inline-block;
  padding: 6px 15px;
  background: var(--primary-color);
  color: white;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.section-card-btn:hover {
  background: #e0a940;
  color: white;
}

/* Booking Table */
.booking-table {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-bottom: 20px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Form Styles */
.form-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-bottom: 20px;
}

.form-label {
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.form-control {
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 45px;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(244, 183, 85, 0.25);
  border-color: var(--primary-color);
}

/* Status Badges */
.badge {
  padding: 6px 10px;
  font-weight: 500;
  border-radius: 4px;
}

.badge-pending {
  background-color: #fff3cd;
  color: #856404;
}

.badge-confirmed {
  background-color: #d4edda;
  color: #155724;
}

.badge-cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

/* Action Buttons */
.btn-action {
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 4px;
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: none;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .sidebar {
      transform: translateX(-100%);
  }

  .sidebar.active {
      transform: translateX(0);
  }

  .main-content {
      margin-left: 0;
      width: 100%;
  }

  .menu-toggle {
      display: block !important;
  }

  table {
    width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
.services-row {
  display: grid;
  grid-template-columns: auto;
}
}

@media (max-width: 768px) {
  .dashboard-card {
      padding: 15px;
  }

  .card-value {
      font-size: 1.5rem;
  }

  .service-card {
      width: 100%;
      max-width: 350px;
  }
}

@media (max-width: 576px) {
  .top-nav {
      flex-direction: column;
      align-items: flex-start;
  }

  .user-profile {
      margin-top: 10px;
  }

  .section-header h2 {
      font-size: 24px;
  }
}

/* Close Button Style */
.close-sidebar {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--light-color);
  display: none;
}

@media (max-width: 992px) {
  .close-sidebar {
      display: block;
  }
}
/* Translation Services Section - Responsive */
.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  padding: 0 15px;
}

.service-card {
  transition: all 0.3s ease;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card h3 a {
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card h3 a:hover {
  color: var(--primary-color);
}

.service-btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 8px 20px;
  border-radius: var(--border-radius);
  text-decoration: none;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.service-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .services-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-row {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .service-card {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .services-row {
    padding: 0 10px;
  }
  
  .service-card {
    padding: 15px;
  }
  
  .service-icon {
    font-size: 2rem;
  }
}
/* ======================================*/
/* End Index File */
/* ======================================*/
        
              .certificate-section {
                margin-bottom: 40px;
                background-color: white;
                box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
                padding: 20px;
                position: relative;
            }
    
            .certificate-actions {
                position: absolute;
                top: 20px;
                right: 20px;
                display: flex;
                gap: 10px;
            }
    
      
            .document-page {
                width: 210mm;
                min-height: 297mm;
                padding: 20mm;
                margin: 20px auto;
                background-color: white;
                box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
                position: relative;
            }
    
            .document {
                
                padding: 30px;
                height: 100%;
            }
    
            .document-header {
                text-align: center;
                margin-bottom: 30px;
                border-bottom: 2px solid #000;
                padding-bottom: 15px;
            }
    
            .document-header h1 {
                font-size: 18px;
                margin: 5px 0;
                font-weight: bold;
            }
            
            .document-title {
                text-align: center;
                font-weight: bold;
                font-size: 16px;
                margin: 20px 0;
                text-decoration: underline;
            }
            

            
            .underline {
                text-decoration: underline;
            }
            
            table {
                width: 100%;
                border-collapse: collapse;
                margin: 15px 0;
                overflow-x: auto;
            }
            
            table, th, td {
                border: 1px solid #000;

            }
            
            th, td {
                padding: 8px;
                text-align: left;
                vertical-align: top;
            }
            
            .signature {
                text-align: right;
                margin-top: 40px;
            }
            
            .footer {
                text-align: center;
                margin-top: 30px;
                font-style: italic;
            }
            
            .section {
                margin-bottom: 20px;
            }
            
            .section-title {
                font-weight: bold;
                margin-bottom: 10px;
            }
            
            .amendment {
                margin-top: 30px;
            }
            
            .notes {
                margin-top: 30px;
                border-top: 1px solid #000;
                padding-top: 10px;
            }

.section {
  margin-bottom: 25px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.info-table td {
  padding: 8px;
  vertical-align: top;
  border: 1px solid #ddd;
}

.info-table .label {
  font-weight: bold;
  width: 30%;
}

.family-status-table {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  font-size: 12px;
}

.family-status-table th,
.family-status-table td {
  padding: 6px;
}



.underline {
  text-decoration: underline;
}

.signature-section {
  margin-top: 40px;
  text-align: right;
}

.official-stamp {
  text-align: center;
  margin: 30px 0;
  font-style: italic;
}


.btn {
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #e0a940;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--dark-color);
}

.btn-outline:hover {
  background-color: #f0f0f0;
}


@media (max-width: 992px) {
  .sidebar {
      transform: translateX(-100%);
  }
  .sidebar.active {
      transform: translateX(0);
  }
  .main-content {
      margin-left: 0;
  }

}

@media print {
  .header, .sidebar, .certificate-actions {
      display: none;
  }
  .certificate-section {
      margin: 0;
      padding: 0;
      box-shadow: none;
      page-break-after: always;
  }
  .document-page {
      margin: 0;
      box-shadow: none;
  }
  .family-status-table {
      width: 100%;
      margin: 0;
  }
}
body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
}
.sidebar {
  background-color: #343a40;
  color: white;
  min-height: 100vh;
}
.sidebar-menu a {
  color: white;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
  background-color: #495057;
}
.header {
  background-color: white;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.document-page {
  background: white;
  padding: 20px;
  margin: 20px auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 800px;
}

.underline {
  text-decoration: underline;
}
.no-print {
  display: block;
}
@media print {
  .no-print {
      display: none !important;
  }
  body {
      background: white !important;
  }
  .document-page {
      margin: 0;
      padding: 0;
      box-shadow: none;
  }
}
.family-member-row {
  margin-bottom: 15px;
  padding: 10px;
  background: #f1f1f1;

}

@media print, pdf {
  body {
      background-color: white !important;
      font-family: 'Times New Roman', serif;
      line-height: 1.5;
  }
  
  .document-page {
      padding: 0;
      margin: 0;
      box-shadow: none;
      width: 100%;
      max-width: 100%;
  }
  
  .document-header {
      margin-bottom: 15px;
      text-align: center;
  }
  
  .document-header h1, 
  .document-header h2 {
      margin: 5px 0;
      font-weight: bold;
  }
  
  .underline {
      text-decoration: underline;
      text-underline-offset: 3px;
  }
  

  
  table {
      width: 100%;
      border-collapse: collapse;
      margin: 10px 0;
      overflow-x: auto;
  }
  
  table, th, td {
      border: 1px solid #000;
  }
  
  th, td {
      padding: 5px;
      text-align: left;
  }
  
  .section {
      margin-bottom: 15px;
      page-break-inside: avoid;
  }
  
  .family-member-row {
      margin-bottom: 10px;
      page-break-inside: avoid;
  }
  

  .no-print, .no-pdf {
      display: none !important;
  }
  
  .page-break {
      page-break-after: always;
  }

  
}
/*================================*/
/* End Personal Information Page */
/*================================*/

p{
  color: #000 !important;
}