/* General Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transform: translate(-50%, -50%);
    background-color: rgb(10 37 60 / 20%);
}

/* Popup Content */
.popup-content {
    position: relative;
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    max-width: 500px; /* Adjust as needed */
    width: 100%;
    overflow: auto;
    max-height: 600px;
}
/**************custom scrollbar************/
.popup-content::-webkit-scrollbar-track
{
	background-color: #FFF;
    border-radius: 30px;
}

.popup-content::-webkit-scrollbar
{
	width: 15px;
	background-color: #FFF;
    border-radius: 0 16px 16px 0;
}

.popup-content::-webkit-scrollbar-thumb
{
	background-color: #DADCEC;
    border-radius: 30px;
    border: 5px solid #fff;
}

/*********************************************/
 
/* Close Button */
/* .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
} */

/* Application Form Styles */
#application-form input,
#application-form button {
    display: block;
    margin: 10px 0;
    width: 100%;
}

.popup-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.popup-header a span.popup-quit{
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6.00005 18M6 5.99995L18 17.9999' stroke='%232D2D2C' stroke-width='1.5' stroke-linecap='round'/%3e%3cpath d='M18 6L6.00005 18M6 5.99995L18 17.9999' stroke='black' stroke-opacity='0.2' stroke-width='1.5' stroke-linecap='round'/%3e%3c/svg%3e");
    display: block;
}
.popup-footer{
    display: flex;
    align-items: center;
    gap: 16px;
}
.popup-footer button{
    width: auto !important;
}
#application-form label{
    color: #5F64A5;
    font-size: 14px;
    font-weight: 500;
    font-family: Roboto;
}
.border-outer{
    border: 1px solid #DADCEC;
    border-radius: 8px;
    padding: 8px;
}
.file-wrapper {
    margin-bottom: 16px;
}
.file-upload-container{
    min-width: 358px;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='8' ry='8' stroke='%235F64A5FF' stroke-width='1' stroke-dasharray='2' stroke-dashoffset='0' stroke-linecap='round'/%3e%3c/svg%3e");
    border-radius: 8px;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    padding: 8px;
    outline: none !important;
    position: relative;
    color: #41566C;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    text-align: center;
}
input[type="file" i]{
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 0;
    margin: 0 !important;
}
#application-form input::placeholder{
    color: #41566C;
    font-size: 16px;
    font-weight: 400;
    font-family: Roboto;
    font-style: italic;
}
.title-popup {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: nowrap;
}
.title-popup h2{
    margin-bottom: 0;
}

#confirmation-popup-confirm,
#confirmation-popup-cancel {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}
input{
    min-width: 358px;
    border-radius: 8px;
    border: 1px solid #DADCEC;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    padding: 14px;
    outline: none !important;
}

/* input[type="file"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
} */
.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}
/* Style for Confirmation Buttons */
#confirmation-popup-confirm {
    background-color: #d9534f; /* Red for delete */
    color: white;
}

#confirmation-popup-cancel {
    background-color: #5bc0de; /* Blue for cancel */
    color: white;
}


.apply-now {
    padding: 8px 16px;
    background-color: #9F248B;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    border-radius: 8px;
    font-size: 16px;
    font-family: Roboto;
}
.apply-now:hover{
    background-color: #9F248BB2;
    color: #E2E8F0;
}
.popup-close:hover{
    color: #9F248BB2;
    border: 1px solid #9F248BB2;
}
.popup-close {
    padding: 8px 16px;
    background-color: #f6f7f800;
    color: #9F248B;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid #9F248B;
    margin-left: 14px;
    font-family: Roboto;
    font-size: 16px;
}

.apply-now.apply-now-btn-inactive {
    padding: 8px 16px;
    background-color: #F6F7F8;
    color: #41566C80;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 8px;
    font-family: Roboto;
}

div#success-popup .job-popup-content{
    display: flex;
    align-items: center;
    gap: 16px;
}
div#success-popup .job-popup{
    padding: 17px 16px;
}

div#success-popup .job-popup-content svg{
    min-width: 42px;
}
div#success-popup .job-popup-content h5{
    color: #228C66;
    font-size: 16px;
    font-family: Roboto;
}
#success-message-popup{
    position: absolute;
    top: 20%;
    left: 65%;
    transform: translate(-4% , -50%);
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}
.job-popup-content{
    display: flex;
    align-items: center;
    gap: 16px;
}
.job-popup-content svg{
    min-width: 42px;
}
.job-popup-content h5{
    color: #228C66;
    font-size: 16px;
    font-family: Roboto;
    margin-bottom: 0;
}
#confirmation-popup .popup-close{
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6.00005 18M6 5.99995L18 17.9999' stroke='%232D2D2C' stroke-width='1.5' stroke-linecap='round'/%3e%3cpath d='M18 6L6.00005 18M6 5.99995L18 17.9999' stroke='black' stroke-opacity='0.2' stroke-width='1.5' stroke-linecap='round'/%3e%3c/svg%3e");
    display: block;
    border: none;
    margin: 0;
    padding: 0;
}
div#confirmation-popup .title-popup{
    margin-bottom: 16px;
}
#inactive-attendance{
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 8px;
    font-family: Roboto;
}
#inactive-apply{
    padding: 8px 16px;
    background-color: #F6F7F8;
    color: #41566C80;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 8px;
    font-family: Roboto;
}
.title-popup p{
    color: #2D2D2C;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}
.title-popup svg{
    min-width: 40px;
    min-height: 40px;
}
.popup-footer button#confirm-delete:hover{
    background-color: #9F248BB2;
    color: #E2E8F0;
}
.popup-footer button#cancel-delete:hover{
    color: #9F248BB2;
    border: 1px solid #9F248BB2;
}
.popup-footer button#confirm-delete{
    background-color: #9F248B;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    font-family: Roboto;
    padding: 8px 16px;
}
.popup-footer button#cancel-delete{
    padding: 8px 16px;
    background-color: #f6f7f800;
    color: #9F248B;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #9F248B;
    font-family: Roboto;
    font-size: 16px;
}
div#confirmation-popup .popup-footer{
    margin-left: 56px;
}