/* ===== تحسين مظهر Input Text ===== */
.custom-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    line-height: 1.5;
}

.custom-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #84cc16;
    /* primary-500 */
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.1), 0 4px 12px rgba(132, 204, 22, 0.15);
    transform: translateY(-1px);
}

.custom-input.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1), 0 4px 12px rgba(16, 185, 129, 0.15);
}

.custom-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1), 0 4px 12px rgba(239, 68, 68, 0.15);
}

.custom-input::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* ===== تحسين مظهر File Input ===== */
.custom-file-input {
    position: relative;
    width: 100%;
}

.custom-file-input input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.custom-file-input .file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 128px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: linear-gradient(145deg, #f9fafb, #f3f4f6);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.custom-file-input .file-label:hover {
    border-color: #84cc16;
    /* primary-500 */
    background: linear-gradient(145deg, rgba(132, 204, 22, 0.05), rgba(132, 204, 22, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.custom-file-input .file-label .file-icon {
    font-size: 2.5rem;
    color: #9ca3af;
    margin-bottom: 8px;
}

.custom-file-input .file-label .file-text {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.custom-file-input .file-label.has-file {
    border-color: #84cc16;
    /* primary-500 */
    background: linear-gradient(145deg, rgba(132, 204, 22, 0.1), rgba(132, 204, 22, 0.05));
}

/* ===== تحسين مظهر Labels ===== */
.custom-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    position: relative;
}

.custom-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #84cc16;
    /* primary-500 */
    transition: width 0.3s ease;
}

.custom-label:focus-within::after {
    width: 100%;
}

/* ===== تحسين مظهر الصورة المعاينة ===== */
.image-preview-container {
    position: relative;
    width: 128px;
    height: 128px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    background: linear-gradient(145deg, #f9fafb, #f3f4f6);
    transition: all 0.3s ease;
}

.image-preview-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== تحسين مظهر الأزرار ===== */
.custom-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    transform: translateY(0);
    background: linear-gradient(145deg, #84cc16, #65a30d);
    /* primary-500 to primary-600 */
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
    border: none;
    color: white;
    cursor: pointer;
}

.custom-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
    background: linear-gradient(145deg, #65a30d, #4d7c0f);
    /* primary-600 to primary-700 */
}

.custom-btn:active {
    transform: translateY(0) scale(0.98);
}

.custom-btn-outline {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    border: 2px solid #d1d5db;
    transition: all 0.2s ease;
    transform: translateY(0);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #374151;
    cursor: pointer;
}

.custom-btn-outline:hover {
    border-color: #84cc16;
    /* primary-500 */
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.15);
    background: linear-gradient(145deg, rgba(132, 204, 22, 0.05), rgba(132, 204, 22, 0.1));
}

.custom-btn-outline:active {
    transform: translateY(0) scale(0.98);
}

/* ===== أزرار Edit و Create المخصصة ===== */
.btn-edit,
.btn-create {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-edit {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    color: white;
    box-shadow: 0 2px 8px rgba(132, 204, 22, 0.3);
}

.btn-edit:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(132, 204, 22, 0.4);
    background: linear-gradient(145deg, #65a30d, #4d7c0f);
    color: white;
}

.btn-edit:active {
    transform: translateY(0) scale(0.98);
}

.btn-create {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    color: white;
    box-shadow: 0 2px 8px rgba(132, 204, 22, 0.3);
}

.btn-create:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(132, 204, 22, 0.4);
    background: linear-gradient(145deg, #65a30d, #4d7c0f);
    color: white;
}

.btn-create:active {
    transform: translateY(0) scale(0.98);
}

/* ===== أزرار Delete المخصصة ===== */
.btn-delete {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: white;
}

.btn-delete:active {
    transform: translateY(0) scale(0.98);
}

/* ===== أزرار View المخصصة ===== */
.btn-view {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: 2px solid #84cc16;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(145deg, rgba(132, 204, 22, 0.05), rgba(132, 204, 22, 0.1));
    color: #84cc16;
    box-shadow: 0 2px 8px rgba(132, 204, 22, 0.15);
}

.btn-view:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(132, 204, 22, 0.25);
    background: linear-gradient(145deg, #84cc16, #65a30d);
    color: white;
}

.btn-view:active {
    transform: translateY(0) scale(0.98);
}

/* ===== أزرار Save و Update المخصصة ===== */
.btn-save,
.btn-update {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, #84cc16, #65a30d);
    color: white;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.btn-save:hover,
.btn-update:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
    background: linear-gradient(145deg, #65a30d, #4d7c0f);
    color: white;
}

.btn-save:active,
.btn-update:active {
    transform: translateY(0) scale(0.98);
}

/* ===== أزرار Cancel المخصصة ===== */
.btn-cancel {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: 2px solid #d1d5db;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: #374151;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cancel:hover {
    border-color: #84cc16;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.15);
    background: linear-gradient(145deg, rgba(132, 204, 22, 0.05), rgba(132, 204, 22, 0.1));
    color: #374151;
}

.btn-cancel:active {
    transform: translateY(0) scale(0.98);
}

/* ===== تحسين مظهر Textarea ===== */
.custom-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
}

.custom-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #84cc16;
    /* primary-500 */
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.1), 0 4px 12px rgba(132, 204, 22, 0.15);
    transform: translateY(-1px);
}

/* ===== تحسين مظهر Select ===== */
.custom-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.custom-select:focus {
    outline: none;
    background: #ffffff;
    border-color: #84cc16;
    /* primary-500 */
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.1), 0 4px 12px rgba(132, 204, 22, 0.15);
    transform: translateY(-1px);
}

/* ===== تحسين مظهر Checkbox ===== */
.custom-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    height: 20px;
    width: 20px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.custom-checkbox:hover .checkmark {
    border-color: #84cc16;
    /* primary-500 */
    transform: scale(1.1);
}

.custom-checkbox input:checked~.checkmark {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    /* primary-500 to primary-600 */
    border-color: #84cc16;
    /* primary-500 */
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

/* ===== تحسين مظهر Radio ===== */
.custom-radio {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-radio .checkmark {
    height: 20px;
    width: 20px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid #d1d5db;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: relative;
}

.custom-radio:hover .checkmark {
    border-color: #84cc16;
    /* primary-500 */
    transform: scale(1.1);
}

.custom-radio input:checked~.checkmark {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    /* primary-500 to primary-600 */
    border-color: #84cc16;
    /* primary-500 */
}

.custom-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    transform: translate(-50%, -50%);
}

.custom-radio input:checked~.checkmark:after {
    display: block;
}

/* ===== تحسين مظهر الإشعارات ===== */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: all 0.3s ease;
    transform: translateX(100%);
    max-width: 400px;
}

.custom-notification.show {
    transform: translateX(0);
}

.custom-notification.success {
    background: linear-gradient(145deg, #10b981, #059669);
    color: white;
}

.custom-notification.error {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: white;
}

.custom-notification.info {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    /* primary-500 to primary-600 */
    color: white;
}

.custom-notification.warning {
    background: linear-gradient(145deg, #f59e0b, #d97706);
    color: white;
}

/* ===== تحسين مظهر Loading ===== */
.custom-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== تحسين مظهر Tooltip ===== */
.custom-tooltip {
    position: relative;
    display: inline-block;
}

.custom-tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background: linear-gradient(145deg, #1f2937, #111827);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

.custom-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {

    .custom-input,
    .custom-textarea,
    .custom-select {
        font-size: 16px;
        /* لمنع zoom في iOS */
    }

    .custom-file-input .file-label {
        height: 100px;
    }

    .image-preview-container {
        width: 100px;
        height: 100px;
    }

    .custom-btn,
    .custom-btn-outline {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ===== أزرار عامة للاستخدام في جميع أنحاء الموقع ===== */

/* أزرار الجداول */
.table-btn-edit,
.table-btn-create,
.table-btn-view,
.table-btn-delete {
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 2px;
}

.table-btn-edit {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    color: white;
    box-shadow: 0 1px 4px rgba(132, 204, 22, 0.3);
}

.table-btn-edit:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 2px 8px rgba(132, 204, 22, 0.4);
    background: linear-gradient(145deg, #65a30d, #4d7c0f);
    color: white;
}

.table-btn-create {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    color: white;
    box-shadow: 0 1px 4px rgba(132, 204, 22, 0.3);
}

.table-btn-create:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 2px 8px rgba(132, 204, 22, 0.4);
    background: linear-gradient(145deg, #65a30d, #4d7c0f);
    color: white;
}

.table-btn-view {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.3);
}

.table-btn-view:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: white;
}

.table-btn-delete {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.3);
}

.table-btn-delete:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: white;
}

/* أزرار الصفحات */
.page-btn-edit,
.page-btn-create,
.page-btn-view,
.page-btn-delete {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px;
}

.page-btn-edit {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    color: white;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.page-btn-edit:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
    background: linear-gradient(145deg, #65a30d, #4d7c0f);
    color: white;
}

.page-btn-create {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    color: white;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.page-btn-create:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
    background: linear-gradient(145deg, #65a30d, #4d7c0f);
    color: white;
}

.page-btn-view {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.page-btn-view:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: white;
}

.page-btn-delete {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.page-btn-delete:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: white;
}

/* أزرار النماذج */
.form-btn-save,
.form-btn-update,
.form-btn-cancel {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px;
}

.form-btn-save,
.form-btn-update {
    background: linear-gradient(145deg, #84cc16, #65a30d);
    color: white;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.form-btn-save:hover,
.form-btn-update:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
    background: linear-gradient(145deg, #65a30d, #4d7c0f);
    color: white;
}

.form-btn-cancel {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: #374151;
    border: 2px solid #d1d5db;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-btn-cancel:hover {
    border-color: #84cc16;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.15);
    background: linear-gradient(145deg, rgba(132, 204, 22, 0.05), rgba(132, 204, 22, 0.1));
    color: #374151;
}

/* أزرار التنقل */
.nav-btn-prev,
.nav-btn-next {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: 2px solid #d1d5db;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-btn-prev:hover,
.nav-btn-next:hover {
    border-color: #84cc16;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(132, 204, 22, 0.15);
    background: linear-gradient(145deg, rgba(132, 204, 22, 0.05), rgba(132, 204, 22, 0.1));
    color: #374151;
}

/* أزرار الحالة */
.status-btn-active,
.status-btn-inactive {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s ease;
    transform: translateY(0);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-btn-active {
    background: linear-gradient(145deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.status-btn-active:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    background: linear-gradient(145deg, #059669, #047857);
    color: white;
}

.status-btn-inactive {
    background: linear-gradient(145deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

.status-btn-inactive:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
    background: linear-gradient(145deg, #4b5563, #374151);
    color: white;
}

/* تحسينات للأزرار المعطلة */
.btn-disabled,
.table-btn-edit:disabled,
.table-btn-create:disabled,
.page-btn-edit:disabled,
.page-btn-create:disabled,
.form-btn-save:disabled,
.form-btn-update:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-disabled:hover,
.table-btn-edit:disabled:hover,
.table-btn-create:disabled:hover,
.page-btn-edit:disabled:hover,
.page-btn-create:disabled:hover,
.form-btn-save:disabled:hover,
.form-btn-update:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
    background: inherit !important;
    color: inherit !important;
}

/* تحسينات للأزرار الصغيرة */
.btn-sm {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* تحسينات للأزرار المستديرة */
.btn-rounded {
    border-radius: 50px;
}

/* تحسينات للأزرار مع أيقونات فقط */
.btn-icon-only {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-only.btn-sm {
    width: 32px;
    height: 32px;
}

.btn-icon-only.btn-lg {
    width: 48px;
    height: 48px;
}