@font-face {
    font-family: 'shabnam';
    src: url('../fonts/shabnam.woff2') format('woff2');
}
@font-face {
    font-family: 'shabnam';
    src: url('../fonts/shabnam.woff') format('woff');
}
@font-face {
    font-family: 'shabnam';
    src: url('../fonts/shabnam.ttf') format('truetype');
}
@font-face {
    font-family: 'shabnam';
    src: url('../fonts/shabnam.eot') format('embedded-opentype');
}
* {
    font-family: Shabnam, sans-serif;
}
html {
    font-family: Shabnam, sans-serif;
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.recorder-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #343a40;
    margin-bottom: 30px;
}

.recorder-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-record {
    background-color: #dc3545;
    color: white;
}

    .btn-record:hover {
        background-color: #c82333;
    }

.btn-stop {
    background-color: #6c757d;
    color: white;
}

    .btn-stop:hover {
        background-color: #5a6268;
    }

.btn-play {
    background-color: #28a745;
    color: white;
}

    .btn-play:hover {
        background-color: #218838;
    }

.btn-save {
    background-color: #007bff;
    color: white;
}

    .btn-save:hover {
        background-color: #0069d9;
    }

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.recorder-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.recorder-visualizer {
    margin-bottom: 20px;
    background-color: #343a40;
    border-radius: 5px;
    padding: 10px;
}

#visualizer {
    width: 100%;
    background-color: #343a40;
}

.save-status {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    min-height: 24px;
}

.success {
    color: #28a745;
}

.error {
    color: #dc3545;
}
.debtor {
    background-color: #ffe5e5; /* Light red background */
    color: #b71c1c; /* Dark red text */
}
.absent {
    background-color: #f8d7da;
    color: #842029;
}