body {
    padding-top: 60px;
    background-color: #f0f2f5;
    font-family: 'Poppins', sans-serif;
}

.navbar {
    background: linear-gradient(45deg, #1a73e8, #0d47a1);
    height: 60px;
    padding: 0 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.navbar .container-fluid {
    display: flex;
    justify-content: center;
    position: relative;
}

.navbar-brand {
    font-family: 'Doto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 220px;
    height: calc(100vh - 60px);
    background: linear-gradient(180deg, #2c3e50, #1a1a1a);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.sidebar ul {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    margin-left: 220px;
    padding: 30px;
    max-width: 1200px;
}

.nav-link {
    color: #fff;
    padding: 10px 25px;
    margin: 2px 0;
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
}

.nav-link i {
    width: 16px;
    text-align: center;
    margin-right: 8px;
    font-size: 16px;
}

.card {
    background: #fff;
    border: none;
    margin-bottom: 20px;
    height: 100%;
}

.card-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a;
    font-weight: 600;
}

.h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.sidebar-header {
    padding: 0 25px 20px 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h3 {
    font-size: 16px;
    margin: 0;
    color: #fff;
}

.btn-call {
    width: 70px;
    height: 70px;
    background: rgba(26,115,232,0.1);
    border: 2px solid #1a73e8;
    border-radius: 10px;
    color: #1a73e8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(26,115,232,0.3),
                inset 0 0 15px rgba(26,115,232,0.3);
    text-shadow: 0 0 5px rgba(26,115,232,0.5);
}

.btn-call:hover {
    background: rgba(26,115,232,0.2);
    box-shadow: 0 0 30px rgba(26,115,232,0.5),
                inset 0 0 30px rgba(26,115,232,0.5);
}

.btn-call i {
    font-size: 20px;
    margin-bottom: 4px;
}

.btn-call span {
    font-size: 12px;
}

.stat-card .card-body {
    padding: 12px;
    min-height: 100px;
    flex-direction: column;
}

.stat-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #1a73e8, #0d47a1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 6px 0;
}

.stat-icon i {
    font-size: 14px;
    color: white;
}

.stat-icon.success {
    background: linear-gradient(45deg, #00c853, #009624);
}

.stat-icon.failed {
    background: linear-gradient(45deg, #f44336, #b71c1c);
}

.stat-details h3 {
    font-size: 12px;
    color: #6c757d;
    margin: 0 0 3px 0;
    font-weight: normal;
}

.stat-details h2 {
    font-size: 18px;
    margin: 0;
    color: #1a1a1a;
}

.stat-details {
    text-align: center;
}

/* Style untuk tabel */
.table {
    width: 100%;
    background: white;
}

.table th {
    padding: 8px 12px;
    background: #1a73e8;
    color: white;
    font-weight: 500;
    font-size: 13px;
}

.table td {
    padding: 8px 12px;
    font-size: 13px;
}

.table tbody tr {
    border-bottom: 1px solid #eee;
}



.badge {
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 500;
    font-size: 12px;
}

.bg-success {
    background: #1a73e8;
}

.bg-danger {
    background: #1a1a1a;
}

.card .card-body {
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
}

.card:last-child .card-body {
    padding: 0;
    min-height: auto;
}

/* Style untuk buttons */
.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.btn-outline-secondary:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover {
    color: white;
}

/* Style untuk modal */
.modal-header {
    padding: 10px 15px;
    background-color: #f8f9fa;
}

.modal-body {
    padding: 15px;
}

.modal-footer {
    padding: 10px 15px;
    background-color: #f8f9fa;
}

.modal-title {
    font-size: 16px;
    font-weight: 500;
}

.form-label {
    font-size: 13px;
    margin-bottom: 5px;
}

.form-control-sm {
    font-size: 13px;
}

.input-group-text {
    font-size: 13px;
    padding: 5px 10px;
}

.btn-share {
    width: 70px;
    height: 70px;
    background: rgba(75, 0, 130, 0.1);
    border: 2px solid #4b0082;
    border-radius: 10px;
    color: #4b0082;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(75, 0, 130, 0.3),
                inset 0 0 15px rgba(75, 0, 130, 0.3);
    text-shadow: 0 0 5px rgba(75, 0, 130, 0.5);
}

.btn-share:hover {
    background: rgba(75, 0, 130, 0.2);
    box-shadow: 0 0 30px rgba(75, 0, 130, 0.5),
                inset 0 0 30px rgba(75, 0, 130, 0.5);
}

.btn-share i {
    font-size: 20px;
    margin-bottom: 4px;
}

.btn-share span {
    font-size: 12px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: calc(100% - 220px);
    margin-left: 220px;
    padding: 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    font-size: 12px;
}

.footer .text-muted {
    color: #6c757d !important;
}

/* Style untuk form */
.form-control {
    padding: 0.75rem;
    font-size: 14px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 0 10px 10px 0;
}

.form-control:focus {
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.input-group {
    margin-bottom: 1rem;
}

.input-group-text {
    border: none;
    border-radius: 10px 0 0 10px;
    background-color: #f8f9fa;
}

.input-group-text i {
    color: #1a73e8;
}

/* Update style untuk button */
.btn-primary {
    padding: 0.8rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Style untuk card audio */
.card-title {
    font-size: 16px;
    font-weight: 500;
}

.btn-success {
    background: linear-gradient(135deg, #00c853, #009624);
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #b71c1c);
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

/* Style untuk file input */
input[type="file"] {
    padding: 0.5rem;
    font-size: 14px;
}

.text-success {
    color: #00c853 !important;
}

.text-danger {
    color: #f44336 !important;
}

/* Update style untuk card audio */
.card-body.p-4 {
    padding: 15px !important;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px !important;
}

.card-title i {
    font-size: 14px;
}

.input-group {
    margin-bottom: 0.5rem;
}

.input-group-text {
    padding: 4px 8px;
}

.input-group-text i {
    font-size: 12px;
}

input[type="file"] {
    padding: 4px 8px;
    font-size: 12px;
}

.text-muted {
    font-size: 11px;
}

/* Update ukuran button */
.btn-primary, .btn-success, .btn-danger {
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.btn i {
    font-size: 12px;
}

/* Style untuk sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
}

.sidebar ul {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-item.mt-auto {
    margin-top: auto !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-item.mt-auto .nav-link {
    color: #dc3545 !important;
}

.nav-item.mt-auto .nav-link:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* Style untuk kolom tanggal */
.table td:nth-child(4) {
    font-family: 'Roboto Mono', monospace;
    white-space: nowrap;
}

/* Update lebar kolom */
.table th:nth-child(1) { width: 5%; }  /* Target Number */
.table th:nth-child(2) { width: 20%; }  /* Pressed Button */
.table th:nth-child(3) { width: 10%; }  /* Action */
.table th:nth-child(4) { width: 60%; }  /* Date and Time */
.table th:nth-child(5) { width: 10%; }  /* ND */
.table th:nth-child(6) { width: 10%; }  /* Edit */
