/* Custom styles for Perdana Application */

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

.container {
    padding: 20px 15px;
}

.page-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}

/* Button Styles */
.btn-action-container {
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #0069d9;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

/* Table Styles */
.data-table-container {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 15px;
    margin-bottom: 30px;
}

.data-table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.data-table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 500;
    padding: 12px 8px;
}

.data-table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.04);
}

.data-table tbody td {
    padding: 12px 8px;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

/* Status indicators */
.status-active {
    color: #28a745;
    font-weight: bold;
}

.status-inactive {
    color: #dc3545;
}

/* Action buttons in tables */
.btn-table-action {
    margin-right: 5px;
}

/* DataTables specific styling */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    margin-bottom: 10px;
    color: #6c757d;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 3px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #007bff !important;
    border-color: #007bff !important;
    color: white !important;
}

/* Form styles */
.form-panel {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}

.form-panel .panel-heading {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    font-weight: 500;
    background-color: #f8f9fa;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.form-panel .panel-body {
    padding: 20px 15px;
}

.form-panel .panel-footer {
    padding: 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
} 