
.border-draft {
    border: 2px solid red; /* Example: 2px solid red border */
}

.disabled-button {
    pointer-events: none;
    opacity: 0.6; /* You can adjust the opacity to visually indicate that the button is disabled */
}


/* for iso */
/* Container Styling */

/* Container Styling */
.selection-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
}

/* Card Wrapper */
.option-card {
    width: calc(16.66% - 1rem); /* Six cards per row (100% / 6 = ~16.66%) */
    min-width: 150px; /* Optional: Set a minimum width for smaller cards */
}

/* Checkbox Card Styling */
.radio-card {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition for hover and selection */
    position: relative;
    background-color: white; /* Default background color */
}

/* Hide the Checkbox */
.radio-card input[type="checkbox"] {
    display: none;
}

/* Card Content */
.radio-card .card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.radio-card .icon-placeholder img {
    width: 30px;
    height: 30px;
    border-radius: 2px;
}

.radio-card .text {
    font-size: 0.7rem;
    font-weight: bold;
    color: #333;
}

/* Hover Effect */
.radio-card:hover {
    border-color: #0056b3; /* Dark blue border for hover */
    background-color: #d6e4f2; /* Light shade of dark blue for hover background */
    box-shadow: 0 0 10px rgba(0, 86, 179, 0.3); /* Dark blue glow effect */
}

/* Checked State (Full Card Highlighted) */
.radio-card input[type="checkbox"]:checked + .card-content {
    background-color: #cce0f5; /* Darker shade of blue for selected state */
    border-color: #0056b3; /* Dark blue border for selected */
    box-shadow: 0 0 10px rgba(0, 86, 179, 0.5); /* Dark blue glow effect */
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .option-card {
        width: calc(33.33% - 1rem); /* Three cards per row for medium screens */
    }
}

@media (max-width: 768px) {
    .option-card {
        width: calc(50% - 1rem); /* Two cards per row for smaller screens */
    }
}

@media (max-width: 576px) {
    .option-card {
        width: 100%; /* Full-width cards for very small screens */
    }
}



/* Style for the row containing the rating */
.rating-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.rating-box {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 8px;
    border: 2px solid #ccc;
    background-color: white;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rating-box:hover {
    transform: scale(1.1);
    border-width: 3px;
    border-color: #555;
}

.rating-box.selected {
    background-color: #007bff;
    color: #fff;
    border-width: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.4);
}


/* Make table responsive */
.table {
    width: 100%;
    table-layout: auto;  /* This makes the columns adjust based on content */
    word-wrap: break-word;  /* Prevents content from overflowing */
}

/* Optionally, you can set a max-width for the table */
.table-responsive {
    overflow-x: auto;  /* Allows horizontal scrolling if the table is too wide */
}

/* Adjust form buttons inside table */
.table td form {
    display: inline-block;
    margin: 0;
}
.table td form {
    display: inline-block;
    margin: 0;
}

.table td input[type="file"] {
    display: inline-block;
    width: 100%;  /* Allow the input to resize dynamically */
    max-width: 300px;  /* Optionally, set a max-width to avoid too wide input */
}
.table th, .table td {
    white-space: nowrap; /* Prevent text wrapping */
    text-align: left; /* Ensure left alignment */
}

/* Add borders between columns */
.table th, .table td {
    border-left: 1px solid #e0e0e0; /* Light grey border between columns */
    padding: 8px;  /* Add some padding for better readability */
}

/* Remove the left border from the first column to avoid double borders */
.table th:first-child, .table td:first-child {
    border-left: none;
}

.table th {
    min-width: 150px; /* Set a minimum width for header cells */
}

.table td {
    min-width: 150px; /* Set a minimum width for data cells */
}

.table th:nth-child(1),
.table td:nth-child(1) {
    width: 200px; /* Adjust width for the first column */
}

.table th:nth-child(2),
.table td:nth-child(2) {
    width: 100px; /* Adjust width for the second column */
}
/* Adjust width for the third column (Download) */
.table th:nth-child(3),
.table td:nth-child(3) {
    width: 100px; /* Adjust width for the third column (Download button) */
}

/* Adjust width for the fourth column (Upload Client Document) */
.table th:nth-child(4),
.table td:nth-child(4) {
    width: 550px; /* Adjust width for the fourth column (Upload button) */
}

/* Optional: Add some padding to the last column (Upload) */
.table td:nth-child(4) {
    padding-left: 10px;
    padding-right: 100px;
}

/* Adjust width for the fifth column (Upload Client Document) */
.table th:nth-child(5),
.table td:nth-child(5) {
    width: 550px; /* Adjust width for the fifth column (Upload button) */
}

/* Optional: Add some padding to the last column (Upload) */
.table td:nth-child(5) {
    padding-left: 10px;
    padding-right: 100px;
}

/* Optional: Add a border to the bottom of the rows for separation */
.table tr {
    border-bottom: 1px solid #e0e0e0;
}

/* Optional: Add a light border for the entire table */
.table {
    border: 1px solid #e0e0e0; /* Adds a subtle border around the entire table */
}


/* Style for the Lead Auditor Decision Section */
.lead-auditor-decision {
    margin-top: 30px;
}

.card {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
}

.card-title {
    font-size: 22px;
}

.card-body {
    padding: 20px;
    font-size: 16px;
    background-color: #f9f9f9;
    border-radius: 6px;
    line-height: 1.6;
}

.lead-auditor-text {
    font-style: italic;
    color: #333;
    text-align: justify;
}

.card-header.bg-info {
    background-color: #17a2b8 !important;
}

/* Optional: Style for the text inside the card */
.card-body p {
    font-size: 1.2rem;
    color: #444;
}


.documents-section th:nth-child(3),
.documents-section td:nth-child(3) {
  width: 36%;   /* خليه ياخد 35% مثلاً */
}

.documents-section th:nth-child(1),
.documents-section td:nth-child(1) {
  width: 20%;
}

.documents-section th:nth-child(2),
.documents-section td:nth-child(2) {
  width: 14%;
}

.documents-section th:nth-child(4),
.documents-section td:nth-child(4) {
  width: 30%;
}
