
  /* styles.css */
@font-face {
  font-family: 'fox';
    src: url('../fonts/font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* Add this to your public/css/custom.css or in the head section */

/* Form animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-card {
    animation: slideIn 0.5s ease-out;
}

/* Table row hover effect */
.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Custom scrollbar */
.table-responsive::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #667eea, #764ba2);
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #5a67d8, #6b46a1);
}

/* Loading spinner animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinner-border {
    animation: spin 1s linear infinite;
}

/* Button ripple effect */
.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(100, 100);
        opacity: 0;
    }
}

.btn-submit:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-action {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .badge-gender {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .form-header h3 {
        font-size: 1.2rem;
    }
}


/* Apply the font to the entire page */
body {
  font-family: 'fox', sans-serif ! important;
  font-size: 15px;
  line-height: 1.6;
  color: #333 !important;
  margin: 0;
  padding: 0;
}

/* Add additional styles for headings and other elements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'fox', sans-serif;
  font-weight: bold;
  margin: 0 0 1rem 0;
}

p {
  margin: 0 0 1.5rem 0;
  font-family: 'fox', sans-serif;
}

  .form-control {

    background-color: #fff ! important;
}


div.dt-buttons {
  float: right;
  margin-left: 0;
  padding-left: 0;
}


   /* Override default fieldset styles */
   fieldset {
    border: 2px solid #002c4d;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: rgba(0, 44, 77, 0.02);
    position: relative;
}

/* Override default legend styles */
legend {
    font-size: 1.25rem;
    font-weight: 600;
    color: #002c4d;
    padding: 0 0.75rem;
    background-color: white;
    border-left: 4px solid #80bc00;
    border-radius: 0 0.25rem 0.25rem 0;
    width: auto;
    margin-left: -0.75rem;
}

/* Interactive states */
fieldset:hover {
    border-color: #80bc00;
    box-shadow: 0 0 0 0.25rem rgba(128, 188, 0, 0.1);
}

fieldset:hover legend.custom-legend {
    color: #80bc00;
    border-left-width: 6px;
}

/* Focus state for accessibility */
fieldset:focus-within {
    border-color: #80bc00;
    outline: none;
}

fieldset:focus-within legend.custom-legend {
    color: #80bc00;
}

::-webkit-scrollbar {
    width:  0.5px;
  }
  
  ::-webkit-scrollbar-track {
    border-radius:  0.5px;
  }
  
  ::-webkit-scrollbar-thumb {
    border-radius:  0.5px;
  }
  
  ::-webkit-scrollbar-corner{
    border-radius: 0.5px;
  }
  
  /* The vertical thumb*/
  ::-webkit-scrollbar-thumb:vertical {
    height: 0.5px;
    background-color:#000;
  }
  
  /* The vertical thumb*/
  ::-webkit-scrollbar-thumb:horizontal {
    height: 0.5px;
    background-color:#000;
  }