/* Basic Resets & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation Bar */
header {
    background-color: #474F7A;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px #06141B;
}

.navbar {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.logo {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #9BA8AB;
}

/* Banner Section */
.banner {
    background: url('../images/banner.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e7cbdc; /* Overlay for readability */
    z-index: -1;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.banner p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #fff;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background-color: #e2e6ea;
    color: #0056b3;
}


/* Main Content Sections */
section {
    padding: 60px 0;
    text-align: center;
}

.features {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.features h2, .cta h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #007bff;
}

.feature-item p {
    font-size: 1.1rem;
    color: #555;
}


/* Other pages style */
/* Container for Forms and Results */
h1, h2 {
    color: #2c3e50; /* Dark blue-gray for headings */
    text-align: center;
    margin-bottom: 25px;
}
.main_cont {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 1300px; /* Limit width for better readability */
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 40px;
}

.main_cont h3{
    text-align: center;
}

/* Form Styling */
form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="file"] {
    display: block;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: calc(100% - 22px); /* Account for padding and border */
    background-color: #ECFAE5}

select {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 5px; /* Space between label and select */
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 1em;
    -webkit-appearance: none; /* Remove default browser styling */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%20165c-4.7%204.7-12.2%204.7-16.9%200L146.2%2040.6c-4.7-4.7-12.2-4.7-16.9%200L5.4%20165c-4.7%204.7-12.2%204.7-16.9%200l-16.9-16.9c-4.7-4.7-4.7-12.2%200-16.9L138.8%206.5c4.7-4.7%2012.2-4.7%2016.9%200l133.5%20133.5c4.7%204.7%204.7%2012.2%200%2016.9l-16.9%2016.9z%22/%3E%3C/svg%3E'); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px; /* Make space for the arrow */
}

select:focus {
    border-color: #007bff; /* Highlight on focus */
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.num_input,.dates{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
#tasa_bcv, #tasa_usd{
    width: 200px;
    height: 30px;
    font-size: 18px;
    padding: 8px;
}
.file-upload-section {
    margin-bottom: 25px; /* Add some space between each file upload block */
    padding-bottom: 15px;
    border-bottom: 1px solid #eee; /* Light separator */
}

.file-upload-section:last-of-type {
    border-bottom: none; /* No separator for the last one */
    margin-bottom: 15px;
    padding-bottom: 0;
}

input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

input[type="date"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
button[type="submit"] {
    background-color: #28a745; /* Green for submit button */
    color: white;
    padding: 15px 40px; /* Increased padding for bigger size */
    border: none;
    border-radius: 30px; /* Much larger border-radius for rounder corners */
    cursor: pointer;
    font-size: 1.3em; /* Slightly larger font size */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Add transform for a subtle click effect */
    /* width: 100%; Remove this for centering and allow it to take its natural width */
    display: block; /* Make it a block element to apply margin: auto for centering */
    margin: 30px auto 10px auto; /* Center horizontally with auto margins, add top margin */
    max-width: 300px; /* Limit max width so it doesn't get too wide on large screens */
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3); /* Add a subtle shadow */
}

button[type="submit"]:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-2px); /* Lift button slightly on hover */
}

button[type="submit"]:active {
    transform: translateY(0); /* Press button down on click */
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
}

.rel_clt {
    width: 50%;
    margin: auto;
}

table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border: 3px solid rgba(23, 91, 39, 0.3);
  text-align: center;
}

tbody td th {
  text-align: center;
}

tbody tr:nth-child(odd) {
  background-color: #ECFAE5;
}


/* Footer */
footer {
    background-color: #222;
    color: #bbb;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}


.collapsible-table-container {
            margin-bottom: 20px;
            border: 1px solid #eee;
            padding: 10px;
            border-radius: 5px;
        }

.toggle-button {
            cursor: pointer;
            padding: 8px 12px;
            display: block;
            width: 100%;
            box-sizing: border-box;
            font-size: 1.2em;
            background-color: #ECFAE5;
            border: 1px solid #ccc;
            border-radius: 4px;
            margin-bottom: 5px;
            font-weight: bold;
        }

.toggle-button:hover {
            background-color: #c1e5af;
        }

.table-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }

.table-content.expanded {
            max-height: 800px; /* Adjust as needed for your table's max height */
            overflow-y: auto;
        }


/* Basic Responsive Adjustments */

@media (max-width: 1100px) {
    .rel_clt{
        width: 45%;
        margin: auto;
    }
}
@media (max-width: 768px) {
    .navbar .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 15px;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .logo {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .rel_clt{
        width: 55%;
        margin: auto;
    }
}


