/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Make footer stick to bottom */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Card styles */
.card {
    border: none;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* Kendo UI Overrides */
.k-upload {
    border: 2px dashed #dee2e6;
    background-color: #f8f9fa;
}

.k-upload-button {
    background-color: #007bff;
    border-color: #007bff;
}

.k-upload-button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Status badges */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

/* Form validation */
.field-validation-error {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Navbar enhancements */
.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Dashboard cards */
.card.h-100 {
    transition: all 0.3s ease;
}

.card.h-100:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Stepper customization */
.k-stepper .k-step-label {
    font-weight: 500;
}

.k-stepper .k-step-current .k-step-label {
    color: #007bff;
}

/* Grid customization */
.k-grid {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.k-grid-header {
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert improvements */
.alert {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Button group spacing */
.btn + .btn {
    margin-left: 0.5rem;
}

/* Input group icons */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

/* File upload area */
.k-upload-files {
    min-height: 100px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Payment Link Button */
.btn-payment-link {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: transparent;
    color: #28a745;
    border: 1.5px solid #28a745;
    border-radius: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-payment-link:hover {
    background: #28a745;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.35);
}

.btn-payment-link:active {
    background: #218838;
    border-color: #218838;
    color: #fff;
}
