/* Custom CSS for NonPublicWeb application */

/* Set global font and color variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Body and global styles */
html {
    position: relative;
    min-height: 100%;
}

body {
    /*background-color: #f7f9fc;*/
    margin-bottom: 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Footer styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /*background-color: white;*/
}

/* Card styles */
.card {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    padding: 0.75rem 1.25rem;
}

/* Button styles */
.btn {
    border-radius: 0.3rem;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Table styles */
.table th {
    font-weight: 600;
    border-top: none;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.04);
}

/* Form styles */
.form-control, .form-select {
    border-radius: 0.3rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
}

    .form-control:focus, .form-select:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

.form-label {
    font-weight: 500;
    /*color: #495057;*/
}

/* Status badge styling */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
    border-radius: 0.25rem;
}

/* Custom shadows */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Animation for page transitions */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card-body {
        padding: 1rem;
    }
}

.hidden {
    visibility: hidden;
    display: none;
}
