/* General reset and basic styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    display: flex;
    height: 100vh;
    justify-content: flex-start; /* Align content to the left */
    align-items: flex-start; /* Align content to the top */
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #333;
    color: white;
    padding-top: 20px;
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.sidebar a {
    padding: 15px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
}

.sidebar a:hover {
    background-color: #575757;
}

/* Main Content Styles */
.main-content {
    margin-left: 260px;
    padding: 20px;
    width: calc(100% - 260px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* For stacking content vertically */
}

/* Header */
.header {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Container */
.container {
    background-color: white;
    padding: 100px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    height: auto;
    max-height: 85vh;
    overflow-y: auto; /* Add scrollable behavior for overflow content */
    margin-left: 30vh;
    margin-right: 5vh;
}

.container-2 {
    background-color: white;
    padding: 100px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: auto;
    max-height: 85vh;
    overflow-y: auto; /* Add scrollable behavior for overflow content */
    margin-left: 10vh;
    margin-right: 10vh;
}
.container-3 {
    background-color: white;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: auto;
    max-height: 80vh;
    overflow-y: auto; /* Add scrollable behavior for overflow content */
    margin-left: 10vh;
    margin-right: 10vh;
    min-width: 50vh;
}

.container-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers horizontally */
    gap: 20px; /* Adds spacing between the two containers */
    min-height: 100vh; /* Ensures the wrapper takes the full height of the viewport */
    width: 100%;
}


/* Input fields */
label {
    display: block;
    margin-bottom: 8px;
    text-align: left;
    font-weight: bold;
    color: #333;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Button styling */
.button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
    margin: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #45a049;
}

.button:active {
    background-color: #388e3c;
}

/* Message styling */
.message {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

/* Select field styling */
select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path fill="none" stroke="%23333" stroke-width="2" d="M1 3l4 4 4-4"/></svg>'); 
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 10px;
}

select:focus {
    border-color: #4CAF50;
    outline: none;
}

select:hover {
    background-color: #f9f9f9;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 20px;
    padding: 20px;
}

/* Individual Card */
.card-form {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.card {
    width: 200px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
    padding: 16px;
}

/* Card Hover Effect */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border-color: #007bff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
        padding-top: 10px;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse; /* Ensures borders between cells are merged */
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds shadow to the table */
    border-radius: 8px; /* Rounded corners for the table */
    overflow: hidden; /* Prevents overflow of content */
}

th, td {
    padding: 16px; /* Increased padding for better readability */
    text-align: left;
    border-bottom: 2px solid #ddd; /* Light gray border between rows */
}

th {
    background-color: #4CAF50; /* Green background for header */
    color: white; /* White text color for the header */
    font-weight: bold;
    font-size: 18px;
}

td {
    background-color: white;
    font-size: 16px; /* Standard font size for table data */
}

/* Alternate row shading */
tr:nth-child(even) td {
    background-color: #f9f9f9;
}

/* No records found styling */
td[colspan="3"] {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #888;
}

/* Hover effect for rows */
tr:hover {
    background-color: #e9f5e9; /* Light green background on hover */
    cursor: pointer;
}

/* Make table more responsive */
@media (max-width: 768px) {
    table {
        width: 100%;
        font-size: 14px;
    }
    
    th, td {
        padding: 12px;
    }
    
    td {
        word-wrap: break-word;
    }
}

.view-details {
    background: none;
    color: #007bff;
    text-decoration: underline;
    border: none;
    cursor: pointer;
}

.view-details:hover {
    color: #0056b3;
}

.view-details:focus {
    outline: none;
}

.document-info {
    background-color: white;
    padding: 20px;
    width: 100%;
    margin: 20px auto;
    text-align: center; /* Center text for paragraphs */
}

.document-info p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    text-align: center; 
}

.document-info img {
    width: 48%; 
    max-width: 250px;
    margin: 10px 1%; 
    border-radius: 8px;
    display: inline-block; 
}

.back-button {
    display: block; 
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: auto;
    text-align: center;
    width: 10%;
}

.back-button:hover {
    background-color: #0056b3;
}

/* Home Button Styling */
.home-button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
    margin: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: #0056b3;
}

.home-button:active {
    background-color: #003f7f;
}

.sub-table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.sub-table th, .sub-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    width: 20%; /* Set a fixed width for each column */
}

.sub-table th {
    background-color: #3c796e;
}


.sub-table th:nth-child(1) {
    width: 100px;
}

.sub-table th:nth-child(2) {
    width: 100px; 
}

.sub-table th:nth-child(3) {
    width: 100px; 
}
.sub-table th:nth-child(4) {
    width: 100px;
}

.sub-table th:nth-child(5) {
    width: 100px;
}

.application-id-cell {
    font-weight: bold;
    color: #4CAF50; /* Green color for Application ID */
    font-size: 1.2rem;
    padding: 12px 20px;
    background-color: #f9f9f9; /* Light background */
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: left;
}

.description-title-cell {
    background-color: #f9f9f9;
    font-size: 16px;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}
.data-container {
    border: 2px solid #4CAF50; /* Green border for each Application ID group */
    margin-bottom: 20px; /* Space between groups */
    padding: 10px;
}

.verified-checkbox {
    margin-left: 20px; /* Add space to the left of the verified checkboxes */
}

.document-container {
    border: 2px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.document-container label {
    display: block;
    margin-bottom: 5px;
}

.verified-checkbox-label {
    font-size: 15px;
    font-style: italic;
    color: black; /* Default color */
}

.verified-checkbox-label.disabled {
    color: #b3b3b3; /* Disabled color */
}

