body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.app-form-main {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.app-left-container {
    width: 45vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-container img {
    max-width: 70%;
    max-height: 70%;
    object-fit: scale-down;
}


.container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80vw;
}


h2 {
    text-align: center;
    color: #1a73e8;
}


.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

.form-row-only-child {
    width: 54.5%;
    margin-bottom: 15px;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 8px;
    border: 1px solid #01457E;
    border-radius: 8px;
    background-color: white;
    font-size: 16px;
    color: #333;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2301457E' height='20' width='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

.form-body {
    margin-bottom: 20px;
    max-height: 73vh;
    overflow-y: auto;
}


.form-group select:hover,
.form-group select:focus {
    border-color: #01457E;
    outline: none;
}

.form-group input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #01457E;
    border-radius: 8px;
}

.form-group-full {
    width: 100%;
}

.form-group input[type="file"] {
    border: none;
}


input[type="file"] {
    display: none;
}

input[type="date" i] {
    font-family: Arial, sans-serif !important;
}


.custom-file-upload {
    display: inline-flex;
    align-items: center;
    justify-content: start;
    width: 15%;
    padding: 8px;
    border: 2px solid #01457E;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #01457E;
    background-color: white;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2301457E' height='20' width='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M5 20h14v-2H5v2zm7-16l-5 5h3v4h4v-4h3l-5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-left: 45px;
}

.custom-file-upload:hover {
    background-color: #01457E;
    color: white;
}

#file-name {
    display: block;
    font-size: 14px;
    margin-top: 5px;
    color: #01457E;
}

#permission-file-name {
    display: block;
    font-size: 14px;
    margin-top: 5px;
    color: #01457E;
}


h2 {
    text-align: center;
    color: #1a73e8;
}

.form-row {
    display: flex;
    justify-content: space-between;
}

.form-group {
    margin-bottom: 5px;
    width: 90%;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
}

input,
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #01457E;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.apply-btn {
    width: 100%;
    padding: 8px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.apply-btn:hover {
    background-color: #1557b0;
}

.modal-bg {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #C1D4E4;
    padding-top: 60px;
}

.modal-row-one {
    display: flex;
    justify-content: space-between;
    margin-left: 2%;
    margin-right: 2%;
    align-items: baseline;
    width: 96%;
}

.modal-last-row {
    display: flex;
    justify-content: flex-end;
    width: 96%;
}

#successModal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 16%;
    width: 30%;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
    align-items: stretch;
    padding: 2%;
    border-radius: 25px;
}

.success-row-one {
    display: flex;
    font-weight: 500;
    font-size: 1.2rem;
    justify-content: space-evenly;
}

.success-row-two {
    display: flex;
    justify-content: center;
}

.primary-btn {
    width: 20%;
    margin-right: 10px;
    padding: 8px;
    border-radius: 25px;
    background-color: navy;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.primary-btn:hover {
    width: 20%;
    background-color: darkblue;
    transform: translateY(-2px);
}

.back-btn-row {
    height: 10vh;
    display: flex;
    align-items: baseline;
    margin: 10px 0px;
}

.back-button {
    border: none;
    width: 20px;
    background-color: transparent;
    color: navy;
    font-size: 1.8rem;
    font-weight: 600;
    margin-right: 15px;
}

#job-title {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 500;
}

#internship-title {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 500;
}

#light-text {
    color: rgba(0, 0, 0, 0.6);
    margin: 0px;
    font-weight: 500;
    font-size: small;
    margin-bottom: 5px;
}

.form-submit-div {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.ck.ck-editor {
    border: 1px solid #01457E !important;
    border-radius: 4px;
    transition: border-color 0.2s;
    padding: 0;
    /* Optional: remove extra space */
}

.ck.ck-editor:focus-within {
    border: 1px solid #01457E !important;
}

.form-submit-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
    margin-bottom: 20px;
}