/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px !important;    
}

body {
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

.hidden {
    display: none !important;
}

/* Common Button Styles */
.btn-primary {
    background-color: #9C1D26;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #7A1520;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Common Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.form-group input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #9C1D26;
    box-shadow: 0 0 0 3px rgba(156, 29, 38, 0.1);
}

.form-group input[readonly] {
    background-color: #f3f4f6;
}

/* Common Modal Styles */
/*.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 28rem;
    width: 100%;
    margin: 0 auto;
    transform: scale(1);
    transition: all 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.modal-title {
    display: flex;
    align-items: center;
}

.warning-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.warning-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #d97706;
}

.modal-title h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}*/
/*
.close-button {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-button:hover {
    background-color: #f3f4f6;
}

.close-button svg {
    width: 1rem;
    height: 1rem;
    color: #6b7280;
}*/

/*.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-left: 1rem;
    margin-bottom: 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.modal-body li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.modal-body li::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background-color: #f59e0b;
    border-radius: 50%;
    margin-top: 0.5rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.modal-info {
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.modal-info p:first-child {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.modal-info p:last-child {
    font-size: 0.75rem;
    color: #1d4ed8;
    margin-bottom: 0;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    padding-top: 0;
}

.modal-actions .btn-secondary {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    color: #374151;
    background-color: white;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-actions .btn-secondary:hover {
    background-color: #f9fafb;
}

.modal-actions .btn-primary {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: #9C1D26;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-actions .btn-primary:hover {
    background-color: #7A1520;
}

.modal-actions .btn-primary svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}*/

/* Responsive Design */
@media (min-width: 640px) {
    .form-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(3, 1fr);
    }
}