/**
 * Custom CSS for ISP Management System
 */

/* General Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

/* Dashboard Cards */
.dashboard-card {
    transition: transform 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.dashboard-card .card-header {
    font-weight: bold;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.dashboard-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table th {
    background-color: #f8f9fa;
}

/* Status Badges */
.badge-aktif {
    background-color: #28a745;
    color: white;
}

.badge-rusak, .badge-suspend {
    background-color: #dc3545;
    color: white;
}

.badge-dipinjam {
    background-color: #ffc107;
    color: black;
}

.badge-perbaikan {
    background-color: #17a2b8;
    color: white;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.required-field::after {
    content: " *";
    color: red;
}

/* Signature Pad */
.signature-pad-container {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.signature-pad {
    width: 100%;
    height: 200px;
    background-color: #fff;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    body {
        padding: 0;
        margin: 0;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-card .icon {
        font-size: 2rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}