/* Basic Styles for Kanda Claim - Updated with Blue Color Scheme and Black Text */
:root {

    --secondary-color: #f8f9fa; /* Light Gray Background */
    --accent-color: #3ba8f5; /* Green - adjusted for contrast */
    --text-color: #000; /* Black text color */
    --border-radius: 5px; /* Consistent border radius */
    --table-bg-color: #f2f2f2; /* Light gray table background */
     --font-family-sans-serif: "Nunito", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}



body {
    font-family: 'Nunito', sans-serif; /* Specified font */
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color); /* Changed to black */
    line-height: 1.6; /* Improved readability */
    display: flex; /* Enable flexbox for vertical layout */
    min-height: 100vh; /* Ensure body takes full viewport height */
    flex-direction: column; /* Stack header, main, and footer vertically */
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 10px; /* Consistent spacing */
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Adjust font size for smaller screens */
    }
    h1 {
        font-size: 2em; /* Adjust heading sizes */
    }
    h2 {
        font-size: 1.5em;
    }
    form {
        max-width: 90%; /* Make forms responsive */
        margin: 10px auto;
    }
    .progress-tracker {
        flex-direction: column; /* Stack progress steps vertically */
    }
    .progress-step {
        margin-bottom: 10px; /* Add spacing between steps */
    }
}

/* Form Styling */
form {
    max-width: 800px; /* Increased max-width for better layout */
    margin: 20px auto;
    background-color: #fff;
    padding: 30px; /* Increased padding */
    border-radius: var(--border-radius); /* Use consistent border radius */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Add a subtle shadow */
}

label {
    display: block;
    margin-bottom: 8px; /* Increased margin */
    font-weight: bold;
    color: var(--text-color); /* Changed to black */
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
textarea,
select { /* Added select element styling */
    width: calc(100% - 22px); /* Adjusted width to account for padding */
    padding: 12px; /* Increased padding */
    margin-bottom: 15px; /* Increased margin */
    border: 1px solid #ccc;
    border-radius: var(--border-radius); /* Use consistent border radius */
    box-sizing: border-box;
    font-size: 16px;
    color: var(--text-color); /* Changed to black */
}

button[type="submit"],
button[type="reset"] { /* Added reset button styling */
    background-color: var(--accent-color); /* Use accent color for buttons */
    color: rgb(93, 119, 144);
    padding: 12px 20px; /* Increased padding */
    border: none;
    border-radius: var(--border-radius); /* Use consistent border radius */
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    width: auto; /* Adjusted width for better layout */
    margin-right: 10px; /* Added margin for better spacing */
}

button[type="submit"]:hover,
button[type="reset"]:hover { /* Added hover effect for reset button */
    background-color: darken(var(--accent-color), 10%); /* Darken button on hover */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: var(--table-bg-color); /* Light gray background */
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: var(--primary-color);
    color: white;
}

/* Specific Styling for Submit Claim Form - Flexbox Layout */
#submitClaimForm {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds space between form rows */
}

#submitClaimForm .form-group {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align labels and inputs vertically */
    margin-bottom: 15px; /* Space between rows */
}

#submitClaimForm label {
    font-weight: bold;
    text-align: left; /* Left-align labels */
    width: 200px; /* Fixed width for labels */
}

#submitClaimForm input[type="text"],
#submitClaimForm input[type="email"],
#submitClaimForm textarea,
#submitClaimForm select,
#submitClaimForm input[type="file"] {
    width: calc(100% - 220px); /* Adjust input width relative to label width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    box-sizing: border-box;
    font-size: 16px;
}

#submitClaimForm button[type="submit"] {
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: auto;
    margin-right: 10px;
}

#submitClaimForm button[type="submit"]:hover {
    background-color: darken(var(--primary-color), 10%);
}

/* Button Styling */
.submit-btn {
    background-color: var(--primary-color); /* Use primary blue color */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    text-align: center;
    display: inline-block;
}

.submit-btn a {
    text-decoration: none;
    color: white;
    display: inline-block;
    width: 100%;
}

.submit-btn:hover {
    background-color: darken(var(--primary-color), 10%);
}

/* Progress Tracker Styling */
.progress-tracker {
    display: flex;
    justify-content: space-between; /* Spread out the steps evenly */
    margin-top: 20px;
    margin-bottom: 20px;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: var(--border-radius); /* Use consistent border radius */
    background-color: #f0f0f0; /* Light gray background for progress steps */
    color: var(--text-color); /* Default text color for inactive steps */
    position: relative;
    margin-right: 10px; /* Space between steps */
}

.progress-step:last-child {
    margin-right: 0; /* Remove margin on the last step */
}

.progress-step.active {
    background-color: var(--primary-color); /* Highlight current step in blue */
    color: white; /* Change text color for active step */
}

/* Optional: Add checkmark icons for completed steps */
.progress-step::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--text-color);
    display: none;
}

.progress-step.completed::before {
    display: block;
    background-color: var(--accent-color); /* Green for completed steps */
}

.progress-step.completed {
    background-color: var(--accent-color); /* Green for completed steps */
    color: white; /* White text for completed steps */
}

/* Added header and navigation styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0; /* Increased padding */
    text-align: center; /* Centered header text */
}

header h1 {
    margin: 0; /* Removed default margin */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav li {
    display: inline-block; /* Display list items inline-block for better spacing */
    margin: 0 15px; /* Adjusted margin */
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px; /* Added padding to links */
    border-radius: var(--border-radius); /* Use consistent border radius */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

nav a:hover {
    background-color: rgba(255,255,255,0.2); /* Light gray background on hover */
}

/* Added footer styles */
footer {
    background-color: #f2f2f2;
    color: black;
    text-align: center;
    padding: 20px 0; /* Increased padding */
    margin-top: auto; /* Added to make footer stay at bottom */

}

/* bootstrap */
.divider:after,
.divider:before {
content: "";
flex: 1;
height: 1px;
background: #eee;
}
.h-custom {
height: calc(100% - 73px);
}
@media (max-width: 450px) {
.h-custom {
height: 100%;
}
}

