/* Icon Button Styles - Consistent styling for all buttons */

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 14px;

    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    color: white;
    min-width: 112px;
    margin: 0 4px 9px 4px;
}

    .icon-button:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .icon-button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .icon-button i {
        font-size: 11px;
    }

/* Button Type Styles */
.btn-save {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

    .btn-save:hover:not(:disabled) {
        background-color: #218838;
        border-color: #1e7e34;
    }

.btn-clear {
    background-color: #0dcaf0;
    color: white;
    border-color: #0dcaf0;
}

    .btn-clear:hover:not(:disabled) {
        background-color: #0bbcd6;
    }

.btn-delete {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

    .btn-delete:hover:not(:disabled) {
        background-color: #c82333;
    }

.btn-email {
    background-color: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

    .btn-email:hover:not(:disabled) {
        background-color: #117a8b;
    }

.btn-refresh {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

    .btn-refresh:hover:not(:disabled) {
        background-color: #0056b3;
    }

.btn-help {
    background-color: #6f42c1;
    color: white;
    border-color: #6f42c1;
}

    .btn-help:hover:not(:disabled) {
        background-color: #5936a2;
    }

.btn-cancel {
    background-color: #343a40;
    color: white;
    border-color: #343a40;
}

    .btn-cancel:hover:not(:disabled) {
        background-color: #23272b;
    }

.btn-primary {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

    .btn-primary:hover:not(:disabled) {
        background-color: #218838;
    }

.btn-praxis {
    background-color: #262261;
    color: white;
    border-color: #262261;
}

    .btn-praxis:hover:not(:disabled) {
        background-color: #0069d9;
        border-color: #0062cc;
    }

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

    .btn-secondary:hover:not(:disabled) {
        background-color: #5a6268;
        border-color: #545b62;
    }

.btn-success {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

    .btn-success:hover:not(:disabled) {
        background-color: #218838;
        border-color: #1e7e34;
    }

.btn-warning {
    background-color: #ffc107;
    color: #212529;
    border-color: #ffc107;
}

    .btn-warning:hover:not(:disabled) {
        background-color: #e0a800;
        border-color: #d39e00;
    }

.btn-danger {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

    .btn-danger:hover:not(:disabled) {
        background-color: #c82333;
        border-color: #bd2130;
    }

.btn-info {
    background-color: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

    .btn-info:hover:not(:disabled) {
        background-color: #117a8b;
    }

.btn-print {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

    .btn-print:hover:not(:disabled) {
        background-color: #34495e;
    }

.btn-upload {
    background-color: #6f42c1;
    color: white;
    border-color: #6f42c1;
}

    .btn-upload:hover:not(:disabled) {
        background-color: #5936a2;
    }

.btn-default {
    background-color: #f8f9fa;
    color: #212529;
    border-color: #dee2e6;
}

    .btn-default:hover:not(:disabled) {
        background-color: #e2e6ea;
        border-color: #dae0e5;
    }

/* Toolbar Icon Button - Larger size for toolbar buttons to match web forms image buttons */
.toolbar-icon-button {
    min-width: 150px;
    min-height: 32px;
    padding: 6px 12px;
    font-size: 16px;
    color: white;
}

    .toolbar-icon-button i {
        font-size: 18px;
    }

.btn-close-custom {
    background-color: #343a40;
    color: white;
    border-color: #343a40;
}

    .btn-close-custom:hover:not(:disabled) {
        background-color: #23272b;
    }

.btn-reset {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

    .btn-reset:hover:not(:disabled) {
        background-color: #218838;
    }

.btn-search {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

    .btn-search:hover:not(:disabled) {
        background-color: #0b5ed7;
    }

.btn-ai {
    background-color: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}

    .btn-ai:hover:not(:disabled) {
        background-color: #7c3aed;
        border-color: #7c3aed;
    }