.main-page {
    min-height: 75vh;
}

.form-box {
    min-width: 48%;
    margin-top: 10px;
}

.form-box-3 {
    min-width: 32%;
    margin-top: 10px;
}

.form-box-4 {
    min-width: 23%;
    margin-top: 10px;
}

.form-box-5 {
    min-width: 18%;
    margin-top: 10px;
}

.form-box-full {
    min-width: 100%;
    margin-top: 10px;
}

/* Modal container - hidden by default */
.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.5); /* Black with opacity */
}

/* Modal content box */
.modal-content {
    background-color: #fefefe;
    margin: 1% auto; /* 10% from top, centered */
    padding: 20px;
    border: 1px solid #888;
    width: 100%; /* Could be more or less */
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.modal-content-medium {
    background-color: #fefefe;
    margin: 5% auto; /* 10% from top, centered */
    padding: 20px;
    border: 1px solid #888;
    width: 100%; /* Could be more or less */
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.modal-head {
    border-bottom: #cec8c8 1px solid;
}

.modal-body {
    padding: 10px 0px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Close button */
.close, .editClose {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .editClose {
    color: #000;
}

/* Tabs */
.nav-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding-left: 0;
    list-style: none;
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
}

.nav-tabs .nav-link {
    display: block;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    color: #555;
    text-decoration: none;
}

.nav-tabs .nav-link.active {
    color: #000;
    background-color: #fff;
    border-color: #ddd #ddd #fff;
    font-weight: 600;
}

/* Tab content */
.tab-content {
    /* border: 1px solid #ddd; */
    border-top: none;
    padding: 15px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}
