body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* --- Login & Reset Page Styling --- */
.login-body {
    background: linear-gradient(135deg, #f0f2f5 0%, #c8d3e6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.login-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 350px;
    transition: transform 0.3s ease-in-out;
}
.login-container:hover {
    transform: translateY(-5px);
}
.login-container h2 {
    color: #4CAF50;
    margin-bottom: 30px;
}
.input-group {
    margin-bottom: 20px;
}
.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}
.btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s;
}
.btn:hover {
    background-color: #45a049;
}
.error-message {
    background-color: #ffe0e0;
    color: #d32f2f;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #d32f2f;
    font-size: 14px;
}
.forgot-password-link {
    display: block;
    margin-top: 15px;
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
}
.forgot-password-link:hover {
    text-decoration: underline;
}

/* --- Dashboard & Profile Page Styling --- */
.dashboard-body {
    display: flex;
    min-height: 100vh;
    background-color: #f4f7f6;
}
.sidebar {
    width: 250px;
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.sidebar .logo {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #4CAF50;
}
.sidebar nav a {
    color: #bdc3c7;
    text-decoration: none;
    padding: 15px;
    display: block;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}
.sidebar nav a:hover, .sidebar nav a.active {
    background: #34495e;
    color: white;
}
.sidebar nav a i {
    margin-right: 10px;
}
.main-content {
    flex-grow: 1;
    padding: 30px;
}
.main-content header {
    margin-bottom: 30px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-3px);
}
.card h3 {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 16px;
}
.card p {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}
.card.total-licenses p { color: #3498db; }
.card.active-licenses p { color: #2ecc71; }
.card.expired-licenses p { color: #e74c3c; }
.card.blocked-licenses p { color: #95a5a6; }
.section-title {
    margin-bottom: 20px;
}
.table-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.logout {
    margin-top: auto;
    color: #e74c3c !important;
}
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}
.status-badge.active { background-color: #2ecc71; }
.status-badge.inactive { background-color: #3498db; }
.status-badge.expired { background-color: #e74c3c; }
.status-badge.blocked { background-color: #95a5a6; }
.action-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    color: white;
    margin-right: 5px;
}
.action-btn.active { background-color: #2ecc71; }
.action-btn.inactive { background-color: #3498db; }
.action-btn.blocked { background-color: #95a5a6; }
.action-btn.active:hover { background-color: #27ae60; }
.action-btn.inactive:hover { background-color: #2980b9; }
.action-btn.blocked:hover { background-color: #7f8c8d; }
.action-btn.edit {
    background-color: #f1c40f; /* Warna kuning */
}
.action-btn.edit:hover {
    background-color: #f39c12; /* Warna kuning lebih gelap saat hover */
}
.form-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}
.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.message i {
    margin-right: 10px;
}
.message.success {
    background-color: #e6f7e8;
    color: #388e3c;
    border: 1px solid #388e3c;
}
.message.error {
    background-color: #ffe6e6;
    color: #d32f2f;
    border: 1px solid #d32f2f;
}
.profile-container {
    margin-bottom: 30px;
}
.profile-container .input-group label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}
.profile-container .input-group input[disabled] {
    background-color: #e9ecef;
    cursor: not-allowed;
}
.forgot-password-link {
    display: block;
    margin-top: 15px;
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
}
.forgot-password-link:hover {
    text-decoration: underline;
}

/* Gaya tambahan untuk tombol Bulk Action */
.bulk-actions {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bulk-actions select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.btn-apply {
    width: auto;
    padding: 12px 20px;
}