.hero-content {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../assets/recrutement.webp);
    background-size: cover;
    background-position: center;
}


h1 span {
    color: #E53935;
}


.form-info {
    padding: 0;
  }


input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}

  

.file-upload-container {
    position: relative;
    width: 100%;
    height: 50px;
    background-color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.file-upload-container input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.file-upload-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.file-upload-label {
    font-weight: 600;
    color: #333;
}

.upload-icon {
    color: #E53935;
    width: 24px;
    height: 24px;
}

form button {
    margin-top: 25px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-box {
  width: 50%;
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.popup-icon {
  font-size: 48px;
  color: green;
  margin-bottom: 15px;
}

.popup-message {
  font-size: 1.12rem;
  color: #333;
}

@media screen and (max-width: 978px) {
    .file-upload-label {
        font-size: 0.7rem;
    }

    .file-upload-content {
        padding: 0 10px;
    }
}

@media screen and (max-width: 768px) {
    .file-upload-label {
        font-size: 0.9rem;
    }

    .file-upload-content {
        padding: 0 15px;
    }

    .popup-box {
        width: 70%;
    }

    .popup-message {
        font-size: 1rem;
    }
}

@media screen and (max-width: 580px) {
    .file-upload-label {
        font-size: 0.7rem;
    }

    .file-upload-content {
        padding: 0 8px;
    }

    .popup-box {
        width: 90%;
    }

    .popup-message {
        font-size: 0.8rem;
    }
}
