/* Form Actions - Bottom Right Positioning */
.save-bar {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    padding: 1.5rem 0 0 0 !important;
    margin: 2rem 0 1rem 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 1rem !important;
}
.save-btn {
    background: #ffffff !important;
    border: 2px solid #3500d5 !important;
    color: #3500d5 !important;
    padding: 0.6rem 1.8rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-align: center !important;
    min-width: 100px !important;
    white-space: nowrap !important;
}

.save-btn:hover {
    background: #4338ca !important;
    color: white !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}

.edit-btn {
    background: #ffffff !important;
    border: 2px solid #00bd65 !important;
    color: #00bd65 !important;
    padding: 0.6rem 1.8rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-align: center !important;
    min-width: 100px !important;
    white-space: nowrap !important;
}

.edit-btn:hover {
    background: #00bd65 !important;
    color: white !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}

.delete-btn {
    background: #ffffff !important;
    border: 2px solid #ff0000 !important;
    color: #ff0000 !important;
    padding: 0.6rem 1.8rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-align: center !important;
    min-width: 100px !important;
    white-space: nowrap !important;
}

.delete-btn:hover {
    color: white !important;
    background: #ff0000 !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}

.remove-btn {
    background: #ffffff !important;
    border: 2px solid #ff0000 !important;
    color: #ff0000 !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.remove-btn:hover {
    color: white !important;
    background: #ff0000 !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}

.cancel-btn {
    background: #ffffff !important;
    border: 2px solid #ff0000 !important;
    color: #ff0000 !important;
    padding: 0.6rem 1.8rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-align: center !important;
    min-width: 100px !important;
    white-space: nowrap !important;
}

.cancel-btn:hover {
    color: white !important;
    background: #ff0000 !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}

.action-group {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.45rem 0.9rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-indigo {
    background: #4f46e5;
    color: white !important;
}

.btn-green {
    background: #22c55e;
    color: white !important;
}

.btn-red {
    background: #ff0000;
    color: white !important;
}

.btn-yellow {
    background: #f59e0b;
    color: white !important;
}

.archive-btn {
    background: #ffffff !important;
    border: 2px solid #00b6b9 !important;
    color: #00b6b9 !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.archive-btn:hover {
    background: #00b6b9 !important;
    color: white !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}

.btn-enable {
    background: #ffffff !important;
    border: 2px solid #22c55e !important;
    color: #22c55e !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.btn-enable:hover {
    background: #22c55e !important;
    color: white !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}

.btn-disable {
    background: #ffffff !important;
    border: 2px solid #ef4444 !important;
    color: #ef4444 !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.btn-disable:hover {
    background: #ef4444 !important;
    color: white !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}
.active-btn {
    background: #ffffff !important;
    border: 2px solid #22c55e !important;
    color: #22c55e !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.active-btn:hover {
    background: #22c55e !important;
    color: white !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}

.border-btn {
    border: 0.5 px solid #949494 !important;
    box-shadow: 0 4px 4px rgba(107, 107, 107, 0.1) !important;
}

.transfer-btn {
    background: #ffffff !important;
    border: 2px solid #ff0066 !important;
    color: #ff0066 !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}
.transfer-btn:hover {
    background: #ff0066 !important;
    color: white !important;
    translate: 0 -2px !important;
    transition: 0.2s ease-in-out !important;
}

.disabled-btn {
    background: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.add-btn {
    margin-top: 0.5rem !important;
    background: #10b981 !important;
    color: white !important;
    padding: 0.3rem 0.8rem !important;
    font-size: 0.75rem !important;
    border-radius: 0.4rem !important;
    border: none !important;
    cursor: pointer !important;
}

.add-btn:hover {
    background: #059669 !important;
    translate: 0 -2px !important;
    transition: all 0.3s ease !important;
}

.apply-btn {
    background: #ffffff !important;
    border: 2px solid #63acff !important;
    color: #63acff !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.apply-btn:hover {
    background: #63acff !important;
    color: white !important;
    translate: 0 -2px !important;
    transition: all 0.3s ease !important;
}

.clear-btn {
    background: #ffffff !important;
    border: 2px solid #776d6d !important;
    color: #776d6d !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.clear-btn:hover {
    background: #776d6d !important;
    color: white !important;
    translate: 0 -2px !important;
    transition: all 0.3s ease !important;
}



/* =========================
   MOBILE BUTTON RESPONSIVE
   ========================= */

@media (max-width: 768px) {
    /* Save bar - bottom right positioning with proper spacing */
    .save-bar {
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 0.8rem !important;
        padding: 1.5rem 0 0 0 !important;
        margin: 2rem 0 1rem 0 !important;
    }

    /* General button sizing - uniform and compact */
    .save-btn,
    .edit-btn,
    .delete-btn,
    .cancel-btn,
    .archive-btn,
    .active-btn,
    .transfer-btn {
        width: auto !important;
        min-width: 85px !important;
        text-align: center !important;
        font-size: 11px !important;
        padding: 0.5rem 1rem !important;
        white-space: nowrap !important;
    }

    /* Table action buttons */
    .action-group {
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        font-size: 0.75rem !important;
        padding: 0.45rem 0.6rem !important;
    }

    /* Add button adjustment */
    .add-btn {
        width: 100%;
        font-size: 0.75rem !important;
        padding: 0.4rem 0.7rem !important;
    }
}

/* =============================
   ENHANCED MOBILE (6" SCREEN)
============================= */

@media (max-width: 480px) {
    /* Save bar - stacked */
    .save-bar {
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 1rem 0 0 0 !important;
        margin: 1rem 0 0.5rem 0 !important;
    }

    /* All buttons full width */
    .save-btn,
    .edit-btn,
    .delete-btn,
    .cancel-btn,
    .archive-btn,
    .active-btn,
    .transfer-btn,
    .btn-enable,
    .btn-disable,
    .apply-btn,
    .clear-btn {
        width: 100% !important;
        min-width: 100% !important;
        font-size: 13px !important;
        padding: 0.75rem !important;
    }

    /* Action group - stacked */
    .action-group {
        flex-direction: column !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .action-group .btn {
        width: 100% !important;
        font-size: 12px !important;
        padding: 0.6rem !important;
    }

    /* Add button */
    .add-btn {
        width: 100% !important;
        font-size: 12px !important;
        padding: 0.6rem !important;
    }

    /* Status badges */
    .status-badge {
        font-size: 10px !important;
        padding: 3px 8px !important;
        min-width: 60px !important;
    }
}


.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
}

/* Approved */
.badge-approved {
    background-color: #dcfce7;
    color: #166534;
}

/* Rejected */
.badge-rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Pending */
.badge-pending {
    background-color: #fef9c3;
    color: #854d0e;
}
