/* HPCL Tax Exemption Portal Custom Styles */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #256ab9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a5799;
}

/* Focus styles */
input:focus, 
select:focus, 
textarea:focus, 
button:focus,
.form-control:focus,
.form-select:focus {
    border-color: #256ab9;
    box-shadow: 0 0 0 0.2rem rgba(37, 106, 185, 0.25);
}

/* Custom button styles */
.btn-hpcl {
    background-color: #256ab9;
    color: white;
    border-color: #256ab9;
    transition: all 0.3s ease;
}

.btn-hpcl:hover,
.btn-hpcl:focus,
.btn-hpcl:active {
    background-color: #1a5799;
    border-color: #1a5799;
    color: white;
}

/* Card customization */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: none;
}

/* Navbar customization */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.form-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.form-control,
.form-select {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control:hover,
.form-select:hover {
    border-color: #adb5bd;
}

/* Badge customization */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
    border-radius: 6px;
}

/* Alert customization */
.alert {
    border: none;
    border-radius: 8px;
}

/* Table customization */
.table {
    color: #333;
}

.table th {
    font-weight: 600;
    color: #495057;
}

/* Animation for loading */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background-color: white;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Document upload cards */
.document-upload-card {
    border: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.document-upload-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.document-upload-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.required-field::after {
    content: "*";
    color: red;
    margin-left: 4px;
} 