:root{
  --header-height: 70px;
  --margin-top-header-height: 75px;
    --margin-bottom: 10px;
    --theme-background: #f1f5f9;
    --background-primary: #f1f5f9;
    --logo-dark: #031842;
    --logo-yellow: #ffda00;
    --logo-green: #bed029;
    --logo-orange: #e74518;

    --logo-dark-light: #03184282;
    --logo-yellow-light: #ffda005e;
    --logo-green-light: #bed02969;
    --logo-orange-light: #e7451861;
    --border-radius: 0.2rem;
    --theme-section-gap: 2rem;
    --thehe-section-title-mobile: 1.7rem;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
   font-family: "Roboto", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
  font-variation-settings: "wdth" 100;

  background: var(--theme-background);
  color: var(--logo-dark);
  line-height: 1.6;
}
main{
    margin-top: var(--margin-top-header-height);
     margin-bottom: var(--margin-bottom);
}
.logo-text{
  /* width: 200px;
  margin-top: -15px;
  margin-left: -50px; */
  width: 150px;
  margin-top: -4px;
  margin-left: -25px;
}

.logo-bird{
  /* width: 90px; */
  width: 20%;
}

@media (max-width: 768px) {
  .logo img{
   width: 150px;
        margin-left: 5px;
        margin-top: 3px;
  }
}

.app-footer{
  transition: transform 0.3s ease;
  will-change: transform;
}
 .app-footer.hide {
    transform: translateY(100%);
  }

/* Table styling */
.table-wrapper {
  overflow-x: auto;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #ffffff;
  color: #111827;
}

.responsive-table th,
.responsive-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.responsive-table th {
  background: #f3f4f6;
  color: #374151;
  font-weight: 600;
}

.responsive-table tr:hover {
  background: #f9fafb;
}

/* Mobile stacked table */
@media (max-width: 768px) {
  .responsive-table thead {
    display: none;
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e5e7eb;
  }

  .responsive-table td {
    display: flex;
    justify-content: space-between;
    padding: 10px 8px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .responsive-table td:last-child {
    border-bottom: none;
  }

  .responsive-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--logo-dark);
  }

  /* Header controls on mobile */
  .table-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .table-title-area {
    width: 100%;
  }

  .table-search {
    width: 100%;
  }

  .table-actions {
    width: 100%;
    justify-content: space-between;
  }
}


/* start auth model */
/* Modal Styles */
.auth-modal {
  position: fixed;
  top: 70px; 
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--logo-dark-light);
  z-index: 2000;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.auth-content {
  position: relative;
  display: flex;
  background: #fff;
  width: 800px;
  max-width: 90%;
  border-radius: var(--border-radius);
  overflow: hidden;
  z-index: 10;
  animation: auth-scaleIn 0.3s ease;
}

@keyframes auth-scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.auth-left {
  flex: 1;
  padding: 40px;
}

.auth-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}

.auth-subtitle {
  color: #444;
  margin-bottom: 24px;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  cursor: pointer;
  font-weight: 500;
  background: #fff;
  transition: background 0.2s ease;
  text-decoration: none;
}
.auth-btn img { width: 20px; height: 20px; }
.auth-btn:hover { background: #f9f9f9; }

.auth-btn-google { border-color: #4285f4; }
.auth-btn-email { border-color: #34a853; }
.auth-btn-alt { border-color: #aaa; }

.auth-terms {
  font-size: 0.85rem;
  color: #666;
}
.auth-terms a { color: var(--logo-orange); }

.auth-right {
  flex: 1;
  display: flex;
}
.auth-right img {
  width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .auth-content {
    flex-direction: column;
    width: 95%;
  }
  .auth-right { display: none; }
}


.auth-step.hidden { display: none; }
.auth-step.active { display: block; }

.form-group {
  margin-bottom: 15px;
}
.form-control {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.button-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.auth-btn.primary {
  background: var(--logo-yellow);
  color: var(--logo-dark);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.auth-btn.primary:hover {
  background: var(--logo-green);
  color: white;
}
.auth-btn.secondary {
  background: var(--logo-orange-light);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.switch-link {
  margin-top: 15px;
}

.auth-btn.secondary:hover {
  background: var(--logo-dark-light);
  color: white;
}
.auth-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--logo-dark);
}

.auth-status.loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid #ccc;
  border-top-color: #ff6600;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-status.error { color: red; }
.auth-status.success { color: green; }

.hidden { display: none !important; }
.form-group.relative {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

.toggle-password:hover {
  color: #333;
}

/* end auth model */
