﻿/* HotelManagementInventory.Shared/wwwroot/css/masters.css */
/* Minimal custom CSS using Bootstrap classes */

/* Text gradient effect */
.text-gradient {
    background: linear-gradient(87deg, #5e72e4 0, #825ee4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon shapes */
.icon-shape {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

    .icon-shape.icon-md {
        width: 40px;
        height: 40px;
    }

    .icon-shape.icon-sm {
        width: 32px;
        height: 32px;
    }

    .icon-shape.icon-xl {
        width: 64px;
        height: 64px;
    }

/* Gradient backgrounds */
.bg-gradient {
    background: linear-gradient(87deg, #5e72e4 0, #825ee4 100%) !important;
}

/* Rounded corners for pills */
.rounded-start-pill {
    border-top-left-radius: 50rem !important;
    border-bottom-left-radius: 50rem !important;
}

.rounded-end-pill {
    border-top-right-radius: 50rem !important;
    border-bottom-right-radius: 50rem !important;
}

/* Modal backdrop */
.modal.show {
    backdrop-filter: blur(5px);
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }

/* Smooth table row hover */
.table-hover tbody tr {
    transition: background-color 0.15s ease-in-out;
}

/* Better form focus states */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Custom scrollbar for table */
.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 #f8f9fa;
}

    .table-responsive::-webkit-scrollbar {
        height: 8px;
    }

    .table-responsive::-webkit-scrollbar-track {
        background: #f8f9fa;
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: #dee2e6;
        border-radius: 4px;
    }

/* Animation for loading */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show .modal-dialog {
    animation: fadeIn 0.3s ease-out;
}
