@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.profile-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* gap: 10px; */
    padding: 20px;
}
.followup-heading{
    text-align: left;
    width: 100%;
}
.followup-heading>span{
    font-size: 16px;
    font-weight: bold;
    color: #008994;
}
.profile-card {
    /* max-width: 1000px; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* padding: 0% 4%; */
    gap: 20px;
    margin-bottom: 30px;
}

.profile-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 30px;
}

.profile-image-wrapper {
    width: 150px;
    height: 150px;
    border: 2px dotted rgb(2, 133, 151);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.image-preview {
    border: 2px dotted rgb(56, 120, 189);
    border-radius: 50%;
    width: 130px;
    height: 130px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgb(2, 133, 151);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.user-icon {
    font-size: 50px;
    color: white;
}

.file-upload-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.edit-icon {
    font-size: 20px;
    color: rgb(16, 87, 139);
    cursor: pointer;
}


.user-icon {
    font-size: 50px;
    color: white;
}

.file-upload-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.edit-icon {
    font-size: 20px;
    color: rgb(16, 87, 139);
    cursor: pointer;
}
.edit{
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.remove-icon{
    padding-top: 4px;
    color: #10578B;
}
.profile-details-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgb(181, 181, 181);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

#profile-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: bold;
    color: black;
}

.section-header h4 {
    background-color: rgb(246, 248, 250);
    padding: 8px;
    border: 2px solid rgb(208, 215, 222);
    border-radius: 5px;
    color: rgb(16, 87, 139);
    font-size: 16px;
    margin-top: 10px;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.input-field {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group input, .input-group select {
    font-size: 14px;
    padding: 8px;
    color: black;
    border: 1px solid grey;
    border-radius: 8px;
}

.input-group input:hover, .input-group select:hover {
    border-color: #111111;
}

.input-group label {
    margin-left: 2%;
    font-size: 14px;
    font-weight: 500;
    color: black;
}

.required-icon {
    color: rgb(181, 5, 5);
    margin-left: 1px;
    font-size: 8px;
}

.error-message {
    color: red;
    margin-left: 2%;
    font-size: 14px;
    font-weight: 500;
}

.form-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.submit-button {
    width: 120px;
    padding: 10px;
    background-image: linear-gradient(rgb(16, 87, 139), rgb(32, 131, 202));
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: capitalize;
}

@media (max-width: 738px) {
    .input-group {
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }
    .input-field {
        width: 100%;
    }
}


/* deletet pop p */
/* Popup overlay */
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Smooth opacity transition */
  }
  
  /* Show the overlay */
  .popup-overlay.show {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease-in-out forwards;
  }
  
  .popup-overlay.hide {
    animation: fadeOut 0.3s ease-in-out forwards;
  }
  
  /* Popup content */
  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9); /* Start small */
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    transition: all 0.3s ease-in-out; /* Smooth transform/opacity */
  }
  
  /* Entry animation for content */
  .popup-overlay.show .popup-content {
    transform: translate(-50%, -50%) scale(1); /* Full size */
    opacity: 1;
    animation: scaleIn 0.3s ease-in-out forwards;
  }
  
  /* Exit animation for content */
  .popup-overlay.hide .popup-content {
    transform: translate(-50%, -50%) scale(0.9); /* Shrink */
    opacity: 0;
    animation: scaleOut 0.3s ease-in-out forwards;
  }
  
  /* Title and message */
  .popup-content h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .popup-content p {
    margin: 0 0 20px;
    color: #666;
    font-size: 1rem;
  }
  
  /* Popup actions */
  .popup-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  
  .popup-actions .btn {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s;
  }
  
  .btn-secondary {
    background-color: #6c757d;
    color: #fff;
  }
  
  .btn-danger {
    background-color: #dc3545;
    color: #fff;
  }
  
  .btn:hover {
    transform: translateY(-2px); /* Subtle hover animation */
    background-color: #444;
  }
  
  /* Keyframes for overlay fade */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  
  /* Keyframes for content scaling */
  @keyframes scaleIn {
    from {
      transform: translate(-50%, -50%) scale(0.9);
      opacity: 0;
    }
    to {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
  }
  
  @keyframes scaleOut {
    from {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
    to {
      transform: translate(-50%, -50%) scale(0.9);
      opacity: 0;
    }
  }