body {
    font-family: 'Jost', sans-serif;
    background-color: #f0f0f0;
    color: #333;
}
.settings-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0; /* Adds a bottom border like in your image */
    
}

.settings-header h1 {
    color: #000; /* Text color */
}


/* Profile settings container */
.profile-settings {
    width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Each setting item block */
.setting-item {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Headings */
.setting-item h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Paragraphs */
.setting-item p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Innerbox containing settings */
.innerbox {
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 15px;
}

/* Setting header containing title and switch */
.setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Setting titles */
.setting-title {
    font-size: 1.0em;
    color: #333;
}

/* Divider line styling */
.divider-line {
    border: none;
    border-top: 1px solid black;
    margin: 10px 0;
}

  /* Switch (toggle button) styling */
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: white;
    transition: .4s;
    left: 4px;
    bottom: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: transparent; /* Hidden checkmark initially */
  }
  
  input:checked + .slider {
    background-color: #8b30ee; /* Purple background when the switch is on */
  }
  
  input:checked + .slider:before {
    background-color: white; /* White circle */
    transform: translateX(15px); /* Corrected value to keep circle within bounds */
    color: #8b30ee; /* Purple checkmark */
    content: "✔"; /* Display checkmark */
  }
  
  /* Optional styling for better look */
  .slider {
    box-shadow: 0 0 2px #0003;
  }
  

/* Responsive styles */
@media (max-width: 768px) {
    .profile-settings {
        width: 90%;
    }
    
    .setting-item h2 {
        font-size: 1.2em;
    }

    .setting-item p {
        font-size: 13px;
    }

    .switch {
        width: 40px;
        height: 20px;
    }

    .slider:before {
        height: 16px;
        width: 16px;
    }

    input:checked + .slider:before {
        transform: translateX(18px);
    }
}

@media (max-width: 480px) {
    .profile-settings {
        width: 95%;
    }
    
    .setting-item h2 {
        font-size: 1.1em;
    }

    .setting-item p {
        font-size: 12px;
    }

    .switch {
        width: 40px;
        height: 20px;
    }

    .slider:before {
        height: 16px;
        width: 16px;
    }

    input:checked + .slider:before {
        transform: translateX(18px);
    }
}


/* Popup notification */
.popup {
    visibility: hidden;
    width: 400px; /* Adjust the width as needed */
    background: linear-gradient(to right,#8641f8,#9D30b1);
    color: white;
    text-align: center;
    padding: 15px;
    position: fixed;
    top: 0;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally */
    z-index: 1000;
    font-size: 16px;
    border-radius: 10px; /* Adjust the border radius as needed */
}

.popup.show {
    visibility: visible;
}

.close-popup {
    margin-left: 15px;
    cursor: pointer;
    font-weight: bold;
    color: white;
}




