.top-header {
    background-color: #FFF623;
    padding: 50px 50px;
    display: flex;
    justify-content: start;

}

.top-header-content {
    width: 100%;
  max-width: 1350px;
  display: block;
  margin: auto;
}



.top-header h1 {
    font-size: 50px;
    margin-bottom: 8px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;
}

.noData{
    padding: 100px 0px;
}

.top-header h1 .highlight {
    color: var(--theme-blue);
}

.top-header p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

.main-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.assignment-header {
    margin-bottom: 30px;
}

.assignment-header h2 {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    color: #000;
    font-family: var(--font-obviously);
    margin-top: 20px;
}

.assignment-header .assignment-title {
    color: var(--theme-blue);
    margin-top: -5px !important;
}

.requests-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 100px;
}

.request-card {
    background-color: #F7F7F3;
    border-radius: 16px;
    padding: 50px 30px;
    display: grid;
    grid-template-columns: 250px 1fr 1fr minmax(300px, auto);
    gap: 30px;
    border: 1px solid #120F1E;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.mailbtn{
    font-family: var(--font-ppmori);
    font-size: 15px !important;
    color: #120F1E !important;
}

.card-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-profile img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 4px solid #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
}

.profile-name {
  font-size: 18px !important;
  line-height: 1.15;
  font-weight: 500;
  color: #000 !important;
  font-family: var(--font-obviously);
  letter-spacing: 0.5px;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-group h4 {
  font-size: 15px !important;
  line-height: 0px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #000 !important;
  font-family: var(--font-obviously);
}

.info-group p {
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
    font-family: var(--font-ppmori);
    color: #000;
}

.card-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.btn {
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-ppmori);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--theme-black);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background-color: #F4F4F4;
}

.btn-primary {
    background-color: #FFF623;
    color: var(--theme-black);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-primary:hover {
    background-color: #EFEA45;
}

.action-subtext {
   font-size: 12px !important;
  margin: 0;
    margin-top: 0px;
  font-weight: 500;
  font-family: var(--font-ppmori);
  color: #000 !important;
  text-align: center;
  margin-top: -5px;
  line-height: 15px !important;
}

.section-fullwidth-employer {
  background-color: #F3A6FF;
}

.wpjp-description{
    color: #000;
    font-family: var(--font-ppmori);
}

.wpjp-company-fe .ctah1{
    font-size: 48px;
}

.wjportal-add-job-form .wpjobportal-form-radio-field label:hover {
  border-color: #000;
}

.btnFlex{
    display: flex;
    flex-direction: row;
    justify-content: start !important;
    gap: 10px;
}

.btnFlex #save-button{
    width: auto;
    padding-top: 0px;
}

.btnFlex .wjportal-elegant-addon-form-btn-wrp{
    width: auto !important;
}

.wjportal-form-upload-btn-wrp .wjportal-form-upload-btn{
    background-color: var(--theme-yellow) !important;
    color: #000 !important;
}





/*overlay css*/

/* --- 2. Main Flex Container for the Card --- */
.main-container {
    width: 100%;
    max-width: 800px; 
    display: flex;
    justify-content: center;
}

.success-card {
    text-align: center;
    padding: 10px 10px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- 3. Image Area Styling --- */
.character-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.success-image {
    width: auto;
    height: 200px !important;    
    max-width: 100%;  
    object-fit: contain; 
    z-index: 2;         
}

.soft-shadow {
    width: 160px;
    height: 15px;
    background: rgba(0,0,0,0.05); 
    border-radius: 50%;
    margin-top: -20px; 
}

/* --- 4. Typography Styling --- */
.typography-area h1 {
    font-size: 50px;
  font-weight: 800;
  color: #000;
  line-height: 50px;
  margin-bottom: 25px;
  font-family: var(--font-obviously);
}

.typography-area p {
    font-size: 1.2rem;
    color: #333;
    max-width: 620px;   
    margin: 0 auto 20px auto;
    line-height: 1.6;  
    font-family: var(--font-ppmori); 
}

/* --- 5. Button Group & Base Button Styles --- */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;          
    flex-wrap: wrap;    
    width: 100%;
}

.btn {
    padding: 20px;
    border-radius: 20px; 
    text-decoration: none; 
    font-weight: 500;   
    font-size: 16px;
    transition: all 0.3s ease;   
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-ppmori);
}

/* Outline Button Specifics (Edit Assignment) */
.btn-outline {
    border: 2px solid #000;
    color: #000;
    background-color: transparent;
}



/* Solid Button Specifics (Back to My Assignments) */
.btn-solid {
    background-color: #b3c0ff; 
    color: #fff;           
    border: 2px solid #b3c0ff;
}

.btn-solid:hover{
    color: #fff !important;
}

.employerprofile input{
    background: #F7F7F3 !important;
    border: 1px solid #E6E4D9 !important;
}

.noprofileerror {
  color: #000 !important;
  font-size: 25px !important;
  padding: 50px 0px;
  font-weight: 600;
  font-family: var(--font-obviously);
}

.wjportal-form-btn.back_btn {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 20px;
  border-radius: 20px;
  line-height: 1;
}

@media(max-width: 1024px) {
    .request-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-profile {
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
        gap: 20px;
    }

    .card-profile img {
        margin-bottom: 0;
    }

    .card-actions {
        padding-top: 10px;
        align-items: flex-start;
    }

   

    .top-header,.assignment-header{
        padding: 25px 20px;
    }

    .request-card{
        padding: 20px;
        margin: 5px;
    }

    .action-subtext{
        text-align: center;
    }
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .wjportaljob form{
        padding: 25px 20px;
    }

    .pageBanner_white, .pageBanner {
        padding: 25px 20px;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .pageBanner .divFlexColumn, .pageBanner_white .divFlexColumn {
      flex-direction: column;
      padding-bottom: 20px;
    }

    .jobs-main-wrapper{
        padding: 20px;
    }

    .jobs-cards-wrapper{
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-action-btn.jaeditbtn,.jobs-action-btn.jarequestbtn  {
      font-size: 14px !important;
    }

    .containerwpjp {
        flex-direction: column;
    }

     .top-header,.assignment-header{
        padding: 25px 20px;
    }

    .request-card{
        padding: 20px;
    }

    .action-subtext{
        text-align: center;
    }

    .assignment-header {
      margin-bottom: 0px;
    }


}

@media(max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .pageBanner .divFlexColumn, .pageBanner_white .divFlexColumn {
      flex-direction: column;
      padding-bottom: 20px;
    }

    .jobs-main-wrapper{
        padding: 20px;
    }

    .jobs-cards-wrapper{
        grid-template-columns: repeat(1, 1fr);
    }

    .jobs-action-btn.jaeditbtn,.jobs-action-btn.jarequestbtn  {
      font-size: 14px !important;
    }

    .wjportaljob form{
        padding: 25px 20px;
    }


    .success-card {
        padding: 30px 10px;
    }

    .success-image {
        height: 160px; /* Slightly smaller image on mobile */
    }

    .typography-area h1 {
        font-size: 2.8rem; /* Dramatically reduces title size for smaller screens */
    }
    
    .typography-area p {
        font-size: 1rem;   /* Standard readable body size on mobile */
    }

    /* Stacks the buttons vertically on mobile instead of side-by-side */
    .button-group {
        flex-direction: column;
        align-items: center;
    }

    /* Buttons are forced to almost full width for accessibility on phones */
    .btn {
        width: 100%;
        max-width: 380px;
    }

    .top-header,.assignment-header{
        padding: 25px 20px;
    }

    .request-card{
        padding: 10px;
        margin: 5px;
    }

    .action-subtext{
        text-align: center;
        width: 100%;
    padding-bottom: 20px;
    }

    .requests-list {
      margin-bottom: 20px;
    }

    .assignment-header {
      margin-bottom: 0px;
    }

    .card-info {
      display: flex;
      flex-direction: row;
      gap: 40px;
      margin-top: 20px;
    }

}

