/* General styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

/* Custom navbar styling */
.navbar-brand {
    font-weight: 500;
    font-size: 1.25rem;
}

/* Card enhancements */
.card {
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Buttons enhancements */
.btn {
    border-radius: 6px;
    font-weight: 500;
}

/* Table styling improvements */
.table thead {
    background-color: #343a40;
    color: #ffffff;
}

.table-hover tbody tr:hover {
    background-color: #f4f3c8 !important;
}
.table {
    --bs-table-hover-bg: rgb(190 166 79 / 22%) !important;
}
tr.fade {
  transition: opacity 0.3s ease;
  opacity: 0;
  display: table-row; /* stays in flow, just transparent */
}

tr.show {
  opacity: 1;
}
/* Address styling */
address {
    font-style: normal;
    line-height: 1.6;
}
.badge {
    font-size: 0.85em;
    padding: 0.35em 0.65em;
}

/* .table-hover tbody tr:hover {
    transform: scale(1.01);
    transition: transform 0.2s ease-in-out;
} */
/* Custom spacing for order details cards */
.order-details-card {
    margin-bottom: 1.5rem;  /* You can adjust this value as needed */
}
.card.order-details-card.shadow-sm.border-0.mt-4 {
    margin-top: 0px !important;
}
.card.shadow-sm.comunications.border-0.mb-4.mb-4 {
    margin-top: 1.5em;
}
/* Styling for the communication cards */
.card.shadow-sm.communications.border-0.mb-4 {
    margin-top: 1.5em;
}
/* Styling for the payments cards */
.card.shadow-sm.payments.border-0.mb-4.mb-4 {
  margin-top: 1.5em;
}
.communications .card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .communications .card-header {
    background-color: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 0.75rem 1.25rem;
  }
  
  .communications .card-body {
    padding: 1rem 1.25rem;
    background-color: #fff;
  }
  
  .communications .card-header strong {
    font-size: 1rem;
    color: #333;
  }
  
  .communications .card-header small {
    font-size: 0.85rem;
    color: #777;
  }
  
  /* Optional: add alternating background colors for messages */
  /* .communications .card:nth-child(odd) .card-body {
    background-color: #fafafa;
  } */
  
  /* Style the send message form */
  #send-message-form textarea {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.75rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
  }
  
  /* Enhance the language dropdown */
  #email-language {
    border: 1px solid #ced4da;
    border-radius: 4px;
  }
  
  /* Add some spacing for tooltips if needed */
  [data-bs-toggle="tooltip"] {
    cursor: pointer;
  }
  
/* Login page styling */
.login-body {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.login-box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

