/* MODAL BACKGROUND */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

.__modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center;
    z-index: 9999;
    background: transparent;
    border: none;
  
    
  
}


.__modalcontent {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 900px;
    animation: fadeIn 0.3s ease-in-out;
}


.__modalheader {
    display: flex;
    background-color: #D20103;
    padding: 12px 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 20px;
    height: auto;
}


.__jobdesc {
    padding: 15px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* JOB HEADER */
.__jobheader {
    margin: 0; 
    padding: 0; 
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 2px solid #ddd;
    text-align: left;
    height: auto;
}
.__jobheader p {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.__jobtitle{
    font-weight: 900;
    font-size: 24px;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    border: transparent;
    
}

.company{
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
/* BUTTON */
.__btnred {
    background: #D20103;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: 0.2s;
    margin: 15px auto;
    display: block;
    border-radius: 20px;
}

.__btnred:hover {
    background: white;
    color: #882a2a;
    border: 1px solid #882a2a;
}
.btnred:hover{
    background: white;
    color: #882a2a;
    border: 1px solid #882a2a;
}
.salary{
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: #D20103;
    color: white;
    padding: 10px 15px;
    border-radius: 15px;;
}
/* FADE IN ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* style mopdal smi start  */

.modaldialog {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
}

/* Modal Content/Box */
.modalcontent {
  background-color: #fefefe;
  margin: 15% auto;
  border: 1px solid #888;
  width: 60%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modalheading{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #D20103;
    color: white;
    padding: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 20px;
    height: auto;
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.modalbody{
    padding: 15px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.close {
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}