:root {
    --eeh-blue: #1c5273;
    --eeh-blue-hover: #143d56;
    --eeh-green: #75a342;
    --eeh-green-hover: #5d8333;
    --eeh-bg: #f4f7f9;
}

body { font-family: 'Nunito', sans-serif; background-color: var(--eeh-bg); color: #333; }
.text-eeh-blue { color: var(--eeh-blue) !important; }
.text-eeh-green { color: var(--eeh-green) !important; }

.btn-primary { background-color: var(--eeh-blue) !important; border-color: var(--eeh-blue) !important; }
.btn-primary:hover { background-color: var(--eeh-blue-hover) !important; border-color: var(--eeh-blue-hover) !important; }
.btn-outline-primary { color: var(--eeh-blue) !important; border-color: var(--eeh-blue) !important; }
.btn-outline-primary:hover { color: var(--eeh-bg) !important; background-color: var(--eeh-blue-hover) !important; border-color: var(--eeh-blue-hover) !important; }
.btn-outline-primary:active { color: var(--eeh-bg) !important; background-color: var(--eeh-blue-hover) !important; border-color: var(--eeh-blue-hover) !important; }
.btn-outline-primary:focus { color: var(--eeh-bg) !important; background-color: var(--eeh-blue-hover) !important; border-color: var(--eeh-blue-hover) !important; }
.btn-success { background-color: var(--eeh-green); border-color: var(--eeh-green); }
.btn-success:hover { background-color: var(--eeh-green-hover); border-color: var(--eeh-green-hover); }

.type-card { border: 2px solid #e0e0e0; background-color: #fff; transition: all 0.2s ease-in-out; cursor: pointer; color: #666; }
.type-card:hover { border-color: var(--eeh-blue); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(28, 82, 115, 0.1); }
.btn-check:checked + .type-card { border-color: var(--eeh-blue); background-color: rgba(28, 82, 115, 0.05); color: var(--eeh-blue); }

.drop-zone { border: 2px dashed var(--eeh-blue); border-radius: 12px; background-color: #fff; transition: all 0.3s ease; cursor: pointer; }
.drop-zone.dragover { background-color: rgba(117, 163, 66, 0.1); border-color: var(--eeh-green); transform: scale(1.02); }

.main-card { border: none; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.main-card-header { background-color: #fff; border-bottom: 2px solid var(--eeh-bg); padding: 20px 30px; }

.text-eeh-blue { color: var(--eeh-blue) !important; }
.bg-eeh-blue { background-color: var(--eeh-blue) !important; }

/* Table & Validation Styles */
.table-custom th { background-color: var(--eeh-bg); color: var(--eeh-blue); font-weight: 700; border-bottom: 2px solid #e0e0e0; padding: 15px 10px; }
.table-custom td { vertical-align: middle; padding: 12px 10px; transition: background-color 0.2s; }
.table-input-readonly { border: none; background: transparent; width: 100%; font-weight: 600; color: #495057; cursor: text; }
.table-input-readonly:focus { outline: none; }
.amount-text { color: var(--eeh-green); font-weight: 800; }

.btn-info-custom { 
    background-color: rgba(28, 82, 115, 0.05); 
    color: var(--eeh-blue); 
    border: 1px solid rgba(28, 82, 115, 0.2); 
    transition: all 0.2s;
}
.btn-info-custom:hover { background-color: rgba(28, 82, 115, 0.1); transform: scale(1.02); color: var(--eeh-blue); }

.row-error { background-color: rgba(220, 53, 69, 0.08) !important; }
.row-error td { background-color: transparent !important; }
.btn-resolver { transition: transform 0.2s; }
.btn-resolver:hover { transform: scale(1.03); }
.bg-eeh-blue { background-color: var(--eeh-blue) !important; color: white; }

/* Navbar styling */
.nav-link-custom {
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link-custom:hover {
    border-bottom: 2px solid var(--eeh-blue);
    color: #003366 !important;
}

/* Main Layout styling */
.main-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.main-card-header {
    background-color: white;
    border-bottom: 2px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
}

/* Overriding corporate-card to match user's new main-card preference if needed, 
   but user specifically asked for these new styles */
.corporate-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.corporate-card .card-header {
    background-color: white;
    border-bottom: 2px solid #e9ecef;
    font-weight: 700;
    color: var(--eeh-blue);
    padding: 1.5rem;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--eeh-blue);
    margin-bottom: 1.25rem;
    margin-top: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.border-top {
    /* border-top: 2px solid var(--eeh-blue) !important; */
    border-top: 2px solid #f0f0f0 !important;
}

/* Drag and drop styling */
.drop-zone {
    border: 2px dashed #ced4da;
    border-radius: 10px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--eeh-blue);
    background-color: #e6f2ff;
}

.drop-zone.success {
    border-color: var(--eeh-green) !important;
    background-color: rgba(117, 163, 66, 0.05) !important;
}

.drop-zone input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.drop-zone .drop-zone-text {
    /* color: #6c757d; */
    margin-top: 0.5rem;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--eeh-blue);
    border-color: var(--eeh-blue);
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #003366;
    border-color: #003366;
}
