body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    background-color: #f9f9f9;
}

.logo {
    position: absolute;
    margin: auto;
    margin-top:-60px;
}

.wrapper {
    margin-top: 20px;
    width: 100%;
    max-width: 1000px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

.selectors {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.selector-item {
    flex: 1;
}

.job-input {
    flex: 0.8;
}

.job-search-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

select, input[type="text"] {
    padding: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.job-search-inline input {
    flex: 1;
}

.job-search-inline button {
    padding: 8px 12px;
    font-size: 14px;
    background-color: #2d0070;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.job-search-inline button:hover {
    background-color: #6600ff;
}

.profile-details {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.audit-Log {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.block-group {
    display: flex;
    flex-direction: column;
    width: 30%;            /* same width as the other blocks */
    height: 200px;         /* matches the height of Mandatory/Optional */
    gap: 10px;             /* space between the two sub‑blocks */
}

/* Both sub‑blocks share the same height and can scroll */
.block-group .block {
    flex: 1;               /* take equal share of the 200 px */
    overflow-y: auto;      /* add a scrollbar when needed */
}

.block {
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    min-height: 200px;
    overflow-y: scroll;
}

.block h3 {
    margin-top: 0;
    font-size: 16px;
}

.detail-row {
    display: flex;
    gap: 10px;
}

.field-basicDetail {
    flex: 1;
    color: black;
    background: #f5f5fb;
    border: 1px solid #4600b0;
    padding: 8px;
    margin: 6px 0;
    cursor: grab;
    border-radius: 10px;
}

.field-extraDetail {
    background-color: white;
    flex: 1;
    color: black;
    border-color: black;
    border-width: 1px;
    border-style: solid;
    padding: 8px;
    margin: 6px 0;
    cursor: grab;
    border-radius: 10px;
}

button.save-btn {
    display: block;
    margin: 30px auto;
    padding: 12px 25px;
    font-size: 16px;
    background-color: #2d0070;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

button.save-btn:hover {
    background-color: #6601ff;
}

.suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    z-index: 10;
}

.suggestion {
    padding: 8px;
    cursor: pointer;
}
.suggestion:hover {
    background-color: #f0f0f0;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 12px;
}

.modules-grid p {
    margin: 0;
    padding: 10px 12px;
    color: black;
    background: #f5f5fb;
    border: 1px solid #4600b0;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.userInfo {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 50px;
}