@charset "UTF-8";@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap");@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Heebo";
  direction: rtl;
}

:root {
  --grey-100: #fcfcfc;
  --grey-200: #f8f8f6;
  --grey-300: #f5f4f2;
  --grey-400: #e2e2e0;
  --grey-500: #9f9f9f;
  --grey-600: #504e45;
  --grey-700: #2b2a27;
  --grey-800: #161615;
  --primary-100: #f9f8f2;
  --primary-200: #f4f2ea;
  --primary-300: #ebe9df;
  --primary-400: #ffd000;
  --primary-500: #bca239;
  --primary-600: #625629;
  --info-100: #e7eff7;
  --info-200: #c3d8ed;
  --info-300: #285f96;
  --info-400: #003e7c;
  --success-100: #eef7e7;
  --success-200: #d5edc3;
  --success-300: #569628;
  --success-400: #347c00;
  --warning-100: #f7f2e7;
  --warning-200: #eddfc3;
  --warning-300: #c28c21;
  --warning-400: #b27600;
  --error-100: #f7e7e7;
  --error-200: #edc3c3;
  --error-300: #e29f9f;
  --error-400: #962828;
  --error-500: #7c0000;
  --error-600: #6b0000;
  width: 100vw;
}

h1 {
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -2%;
}

h2 {
  font-weight: 600;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -1.5%;
}

h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -1%;
}

h4 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.5%;
}

h5 {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.body-large {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}

.body-default {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.body-small {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
}

.emphasis {
  font-weight: 600;
}

.regular {
  font-weight: 400;
}

.strikethrough {
  font-weight: 400;
  text-decoration: line-through;
}

.italic {
  font-weight: 400;
  font-style: italic;
  color: var(--primary-500);
}

.link {
  font-weight: 600;
  text-decoration: underline;
}

.react-datepicker-popper {
  z-index: 9999 !important
}#menu-button-main {
    all: revert;
    border: 0;
    background-color: inherit;
}#primary-button {
    padding: 12px 10px;
    background-color: var(--primary-400);
    border-radius: 50px;
    width: 100%;
    border: 0;
    color: #000;
}

#primary-button:disabled {
    background-color: #d3d3d3;
    color: #777;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}#close-button {
    all: unset;
    position: absolute;
    top: 24px;
    left: 20px;
}#menu-main {
  top: 0;
  position: fixed;
  width: calc(100% - 70px);
  height: 100svh;
  background-color: var(--grey-200);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding-top: 75px;
  padding-bottom: 85px;

  .menu-item-social {
    background-color: inherit;
    border: 0;
    padding: 16px 20px;
    display: flex;
    color: black;
    text-decoration: none;

    svg {
      margin-left: 4px;
    }
  }
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.menu-item {
  padding: 16px;
  cursor: pointer;
  position: relative;
}

.menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.87px;
  background-color: #E2E2E0;
}

.menu-item:last-child::after {
  display: none;
}

.menu-item-social {
  position: relative;
}

.menu-item-social::after {
  display: none;
}

/* For section dividers, you can add an hr element with this style */
.menu-section-divider {
  margin: 0;
  border: none;
  height: 0.87px;
  background-color: #E2E2E0;
  width: 100%;
}
.menu-item {
    width: 100%;
    padding: 16px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #000000;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 90%;
    height: 0.10px;
    background-color: #E2E2E0;
    color: #000000;
}

/* Remove divider from last menu item if needed */
.menu-item:last-child::after {
    display: none;
}.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  padding: 24px;
  text-align: right;
  font-family: 'Arial', sans-serif;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.question {
  font-weight: bold;
  margin: 10px auto;
  font-size: 18px !important;
}

.note {
  color: gray;
  font-size: 0.9em;
  margin-bottom: 15px !important;
}

.report-options {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.option {
  padding: 8px 12px;
  background: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
}

.back-button-modal {
  background: #ffc107;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  width: 100%;
  cursor: pointer;
}
.report-text{
    width: 100%;
    height: 200px;
    padding: 10px;
}
.check-icon{
  text-align: center;
  width:100%;
  margin: 20px 0px;
}
.check-icon img{
  width: 70px;
  height: 70px;
}
.thank_modal_des{
  text-align: center;
}

.thank_modal_des{
  margin-bottom: 20px !important;
}#main {
  word-break: break-word;
  width: 100%;
  max-width: 100%;
  position: relative;
  background-color: var(--grey-100);
  height: auto;
  min-height: 100svh;
  /* overflow: auto; this is the reason for two unwanted scrolls :( */

  #header {
    width: 100%;
    height: 64px;
    padding: 6px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--grey-200);
    z-index: 99;


    button {
      cursor: pointer;
      width: auto;
      padding: 12px 14px;
      /* padding: 12px 0px */
    }

    .logo-icon {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
  }

  .justify-left {
    min-width: 70px;
  }

  main {
    background-color: var(--grey-100);
    top: 64px;
    position: relative;
  }

  #FAB-button {
    position: fixed;
    top: 80svh;
    z-index: 1;
    left: 24px;
  }

  #FAB-buttons {
    position: fixed;
    z-index: 1;
    top: 58svh;
    left: 24px;
  }

  .left-section {
    cursor: pointer;
    display: flex;
    justify-content: end;
    align-items: start;
    gap: 9px;
    padding-top: 6px;
  }

  .bell-icon {
    position: relative;
  }

  .pencil-btn {
    padding: 4px 16px !important;
    border-radius: 20px;
    line-height: 20px;
    font-size: 14px;
    border: 1px solid black;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
  }
}

@keyframes spin988 {
  0% {
    transform: scale(1) rotate(0);
  }

  20%,
  25% {
    transform: scale(1.3) rotate(90deg);
  }

  45%,
  50% {
    transform: scale(1) rotate(180deg);
  }

  70%,
  75% {
    transform: scale(1.3) rotate(270deg);
  }

  95%,
  100% {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
#signup-main {
    padding: 20px 20px 0 20px;

    #top {
        form {
            margin-top: 32px;

            input {
                text-align: right;
            }

            button {
                margin-top: 32px;
            }

            #password-validation {
                display: flex;
                flex-direction: column;

                .password-validation-item {
                    display: flex;

                    svg {
                        margin-left: 4px;
                    }
                }
            }
        }
    }
}

#email-taken-modal {
    padding: 40px 20px;
    background-color: var(--grey-100);
    border-radius: 20px;
    position: relative;

    svg {
        position: absolute;
        top: 20px;
        left: 20px;
    }
    
    button {
        margin-top: 32px;
    }
}/* changes done by me: below css copied to emailinput.css */

input {
  padding: 12px 16px;
  border: 1px solid var(--grey-600);
  border-radius: 4px;
  width: 100%;
  direction: ltr;
  margin: 8px 0;
}

input.error {
  border: 2px solid var(--error-300);
  color: var(--error-500);
}

input:focus {
  border: 2px solid var(--grey-800);
}

span.error {
  display: flex;
  align-items: center;
  color: var(--error-400);

  svg {
    margin-left: 2px;
  }
}

label.error {
  color: var(--error-400);
}
#password-wrapper {
    position: relative;

    svg {
        position: absolute;
        left: 16px;
        top: calc(50% - 12px);
    }
}#modal-main {
    top: 64px;
    width: 100%;
    height: calc(100svh - 64px);
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}input {
    padding: 12px 16px;
    border: 1px solid var(--grey-600);
    border-radius: 4px;
    width: 100%;
    margin: 8px 0;
}

.email-input-wrapper {
    direction: rtl;
}

.email-input-wrapper input {
    text-align: right;
    direction: ltr;
}

input.error {
    border: 2px solid var(--error-300);
    color: var(--error-500);
}

input:focus {
    border: 2px solid var(--grey-800);
}

span.error {
    display: flex;
    align-items: center;
    color: var(--error-400);

    svg {
        margin-left: 2px;
    }
}

label.error {
    color: var(--error-400);
}#forgot-my-password-main {
    padding: 20px 20px 0 20px;

    #top {
        p {
            width: 60%;
        }

        form {
            margin-top: 32px;

            button {
                margin-top: 32px;
            }
        }
    }

}

#email-sent-modal {
    padding: 40px 20px;
    background-color: var(--grey-100);
    border-radius: 20px;
    position: relative;

    svg {
        position: absolute;
        top: 20px;
        left: 20px;
    }
}#reset-password-main {
    padding: 20px 20px 0 20px;

    form {
        margin-top: 32px;

        button {
            margin-top: 32px;
        }

        #password-validation {
            display: flex;
            flex-direction: column;

            .password-validation-item {
                display: flex;

                svg {
                    margin-left: 4px;
                }
            }
        }
    }
}

#password-reset-success {
    background-color: var(--grey-100);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -32px;

    h1 {
        margin-top: 32px;
    }

    p {
        margin-bottom: 32px;
    }
}

.settings-container {
  padding: 20px 26px;
  max-width: 600px;
  margin: 0 auto;
  direction: rtl;
  font-family: 'Heebo', sans-serif;
  background-color: #fff;
}

.settings-container h1 {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  text-align: center;
  margin: 24px 0 32px;
  font-size: 1.75rem;
}

.settings-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.back-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.settings-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.settings-item {
  background: white;
  border-radius: 8px;
  padding: 16px 8px;
  text-align: right;
  cursor: pointer;
}

.settings-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  /* margin-bottom: 10px; */
  position: relative;
}

.settings-icon {
  width: 24px;
  height: 24px;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  margin-left: auto;
  margin-right: 0;
}

.settings-item h2 {
  margin: 0;
  font-size: 1.2rem;
  flex-grow: 1;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
}

.settings-item-header u {
  flex-grow: 1;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 8px;
  padding-bottom: 10px;
}

.language-buttons {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.language-btn {
  padding: 12px 12px;
  border-radius: 25px;
  border: none;
  color: #000;
  background-color: #FFE15A;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}

.language-btn:hover {
  opacity: 0.9;
}

.language-btn.active {
  background-color: #FFE15A;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language_btn_new {
  background-color: #FCFCFC;
  border: 1px solid #ccc;
  color: #000;
}

.settings-item .settings-divider {
  display: none;
}

.settings-description,
.settings-item p {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  text-align: right;
}

.back-home-btn {
  width: 100%;
  padding: 12px 24px;
  background-color: #FFE15A;
  border: none;
  border-radius: 25px;
  margin-top: 20px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-home-btn:hover {
  opacity: 0.9;
}

.settings-item-header {
  border-bottom: none;
  padding-bottom: 0;
}

.arrow-icon {
  border-bottom: none;
  padding-bottom: 0;
}

.privacy-settings-container.container-setting {
  min-height: auto !important;
  padding: 0px;
}

.btn-home {
  color: #000;
  background-color: #FFD012;
}

.settings-container.rtl .settings-item-header {
  flex-direction: row;
}

.settings-container.ltr .settings-item-header {
  flex-direction: row-reverse;
}

.settings-container.rtl h2,
.settings-container.rtl p,
.settings-container.rtl .settings-description {
  text-align: right;
}

.settings-container.ltr h2,
.settings-container.ltr p,
.settings-container.ltr .settings-description {
  text-align: left;
}

.settings-container.rtl .arrow-icon {
  margin-left: auto;
  margin-right: 0;
}

.settings-container.ltr .arrow-icon {
  margin-right: auto;
  margin-left: 0;
}

/* .settings-container.rtl .settings-icon {
  margin-right: 12px;
} */

.settings-container.ltr .arrow-icon {
  transform: rotate(180deg);
}

.settings-container.rtl .arrow-icon {
  transform: rotate(0deg);
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.storage-bar-container {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  font-family: sans-serif;
}

.storage-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 16px;
  background-color: #e0e0e0;
  border-radius: 10px;
  border: 1px solid #000000;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar::before {
  content: "";
  position: absolute;
  inset: 0;

  /* Divide into 10 equal sections */
  background-image: repeating-linear-gradient(
    to right,
    transparent 0%,
    transparent 9.5%,
    rgba(0, 0, 0, 0.33) 9.5%,
    rgba(0, 0, 0, 0.33) 10%
  );
  background-size: 10% 100%;
  pointer-events: none;
  z-index: 1;
}

.progress-fill {
  position: relative;
  height: 100%;
  background: linear-gradient(90deg, #FFCD00 0%, #FFCE00 100%);
  transition: width 0.4s ease-in-out;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.language-confirm-modal {
  background: white;
  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  direction: rtl;
  text-align: center;
}

.close-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.language-confirm-modal h2 {
  margin: 0 0 16px;
  font-family: 'Heebo', sans-serif;
  font-size: 1.5rem;
}

.language-confirm-modal p {
  margin: 0 0 24px;
  color: #666;
  line-height: 1.5;
}

.save-changes-btn {
  width: 100%;
  padding: 14px;
  background-color: #FFE15A;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
}

.or-divider {
  margin: 16px 0;
  color: #666;
  font-size: 1rem;
}

.back-btn {
  width: 100%;
  padding: 14px;
  background-color: transparent;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  color: #333;
}

.save-changes-btn:hover,
.back-btn:hover {
  opacity: 0.9;
} .admin-panel-main {
  box-sizing: border-box;
  display: flex;
  column-gap: 10px;
  height: calc(100% - 64px);
}
.admin-panel-left {
  padding: 10px;
  max-width: 25%;
  min-width: 150px;
  display: flex;
  background-color: rgb(207, 222, 235);
  flex-direction: column;
  gap: 20px;
}

.admin-left-up-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.admin-up-button {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-panel-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: inherit;
  padding: 10px;
  color: '#000';
}

.admin-right-header {
  display: flex;
  justify-content: space-between;
  gap: 20%;
  width: 100%;
}
.admin-right-header:nth-child(1) {

  border-radius: 20px !important;
}

.admin-right-title{
    width: inherit;
    text-align: center;
    font-size: 16px;
    font-weight: 700    ;
    background-color: var(--primary-400);
    padding:12px 10px;
    border-radius:10px;
    -webkit-appearance: none;
    appearance: none;
    color: #000;
}
.admin-logout {
  min-width: 100px;
  font-size: 16px;
  padding: 0px 10px;
  background-color: #fff;
  border-radius: 50px;
  font-weight: 800;
}

.admin-right-form {
  
  button {
    width: 200px !important;
  }
}
.admin-lable {
    font-weight: bold;
  }
.admin-right-func {
  button {
    width: 200px !important;
  }
}

.admin-right-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-right-func{
    p{
        font-weight: bold;
    }
}.deceased_list {
  direction: ltr !important;
}

.user-list-container {
  padding: 1rem;
}

.search-input {
  width: 100%;
  max-width: 300px;
  padding: 8px 12px;
  /* margin-bottom: 1rem; */
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.status-filter-box {
  margin-left: 10px;
  margin-right: 10px;
  min-width: 300px;
}

.table-wrapper {
  overflow-x: auto;
  width: 100%;
  /* To scroll bar hide */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.table-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}


.user-table {
  min-width: 900px;
  /* This is key for horizontal scrolling */
  border-collapse: collapse;
  width: 100%;
  direction: ltr !important;
}

.user-table th,
.user-table td {
  white-space: nowrap;
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.user-table th {
  background-color: #f5f5f5;
  /* display: flex; */
  align-items: center;
  justify-content: center;
}

.no-results {
  text-align: center;
  padding: 20px;
  color: #999;
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 20px 0;
  gap: 8px;
  direction: ltr !important;
}

.page-item {
  display: inline-block;
}

.page-link {
  padding: 8px 14px;
  border-radius: 6px;
  background-color: #df540e;
  color: white;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.page-link:hover {
  background-color: #c7430b;
}

.active .page-link {
  background-color: #c7430b;
}

.disabled .page-link {
  background-color: #ccc;
  cursor: not-allowed;
}

.btn-danger {
  background-color: #df540e;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  margin-right: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-danger:hover {
  background-color: #c7430b;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal {
  background: white;
  padding: 24px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  gap: 10px;
}

.btn-cancel {
  background-color: #ccc;
  color: #333;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-cancel:hover {
  background-color: #b0b0b0;
}

.btn-del {
  border: none;

  img {
    width: 25px;
    height: 25px;
  }
}



.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  /* display: none; */
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 6px;
  overflow: hidden;
}

.dropdown-content a {
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Status badge */

.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: capitalize;
}

.status-badge.active {
  background-color: #d4edda;
  color: #155724;
}

.status-badge.disabled {
  background-color: #f8d7da;
  color: #721c24;
}

.status-badge.pending {
  background-color: #eed61d66;
  color: #000000;
}


/* Filter Section Css */

.pointer {
  cursor: pointer;
}

.filter-section {
  display: flex;
  align-items: center;
  justify-content: end;
}

.filter-section select {
  margin-left: 15px;
  border: 1px solid lightgray;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  background: transparent;
  outline: none;
  height: 38px;
  margin-bottom: 9px;
}

.date-filter-box .react-datepicker-wrapper input { 
    padding: 7px 16px;
    border: 1px solid lightgray;
    min-width: 300px;
    font-size: 14px;
}

@media screen and (max-width: 500px) {
  .filter-section { 
    display: block;
    width: 100%;
  }

  .filter-section select {
    margin-bottom: 8px;
  }

  .status-filter-box {
    margin: 8px 0px 2px 0px;
  }

  .search-input {
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .date-filter-box .react-datepicker-wrapper {
    width: 100%;
    outline: none;
  }
  
  .date-filter-box .react-datepicker-wrapper input { 
    padding: 8px 16px;
  }

  .full-screen-modal video {
    width: 100%;
    height: auto;
  }

  .full-screen-modal img {
    width: 100%;
    height: auto;
  }
}#login-main {
    width: 100%;
    height: calc(100vh - 120px);

    #top {
        padding: 20px 20px 0 20px;

        form {
            margin-top: 32px;

            button {
                margin-top: 34px;
                margin-bottom: 32px;
            }
        }

        a {
            color: var(--info-300);
        }
    }

    #google {
        button {
            color: #000;
        }

        width: 100%;

        div:last-child {
            padding: 0 20px;
        }

        #or {
            position: relative;
            display: flex;
            justify-content: center;
        }

        #or::before,
        #or::after {
            content: '';
            position: absolute;
            height: 1px;
            background-color: var(--grey-400);
            width: calc(50% - 32px);
            top: calc(50% - 0.5px);
        }

        #or::before {
            right: 0;
        }

        #or::after {
            left: 0;
        }
    }

    .bottom {
        position: absolute;
        bottom: 10px;
    }
}#google-login {
    border-radius: 50px;
    padding: 12px 20px;
    width: 100%;
    margin-top: 16px;
    background-color: var(--grey-100);
    border: 1px solid var(--grey-400);
    display: flex;
    justify-content: center;
    align-items: center;

    svg {
        margin-left: 4px;
    }
}

#no-user-modal {
    padding: 40px 20px;
    background-color: var(--grey-100);
    border-radius: 20px;
    position: relative;

    svg {
        position: absolute;
        top: 20px;
        left: 20px;
    }
}

#google-login span {
    color: #000;
    -webkit-text-fill-color: #000; /* iOS Safari fix */
    -webkit-appearance: none;
}#notification-main {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  padding: 0px 20px;
}

.gird-container {
  display: grid;
  grid-template-columns: 1.7fr 10.3fr;
  align-items: start;
  width: 100%;
}

.no-grid {
  display: flex;
  column-gap: 10px;
}

.notification-section-data {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
}

.notification-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.notification-profile-image {
  height: 36px;
  width: 36px;
  border-radius: 50%;
}

.notification-description {
  line-height: 20px;
}

.notification-link {
  line-height: 16px;
  cursor: pointer;
  width: fit-content;
  color: var(--grey-600);
  border-bottom: 1px solid var(--grey-600);
}

.notification {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.notification-title {
  font-size: 28px;
}

.notification-profile-image {
  img {
    height: inherit;
    width: inherit;
    border-radius: 50%;
  }
}

.full-screen-img {
  max-height: 400px;
  object-fit: contain;
}
.after-memory-section {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  padding: 0px 20px;
}

.after-memory-image {
  height: 134px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 8px;
  background-color: transparent;
  width: 100px;

  img {
    width: inherit;
    height: inherit;
    border-radius: 8px;
    object-fit: contain;
  }
}

.after-memory-section-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  justify-content: flex-start;
  align-items: center;
  column-gap: 10px;
}

.no-grid {
  display: flex;
  column-gap: 10px;
}




.notification-button-section {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.notification-button-section>* {
  flex: 1;
  max-width: 200px;
}

.notification-sec-button {
  padding: 12px 0;
  border: 1px solid var(--grey-500);
  background: none;
  color: var(--grey-800);
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}.lazy-image {
    /* object-fit: cover !important; */
    width: 100% !important;
    height: 100% !important;
}#begin-main {
    width: 100%;

    #top {
        padding: 20px 20px 0 20px;

        form {
            margin-top: 32px;
        }

        button {
            margin: 32px 0;
        }
    }

    #bottom {
        padding: 0 20px;
        #or {
            position: relative;
            display: flex;
            justify-content: center;
        }

        #or::before,
        #or::after {
            content: '';
            position: absolute;
            height: 1px;
            background-color: var(--grey-400);
            width: calc(50% - 32px);
            top: calc(50% - 0.5px);
        }

        #or::before {
            right: 0;
        }

        #or::after {
            left: 0;
        }
    }
    
    /* Modal Styles */
    .beginning-model #modal-main {
        top: 0px !important;
        height: 100vh !important;
        z-index: 999999 !important;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-title {
        font-size: 18px;
        font-weight: bold;
        padding-bottom: 12px;
        margin-bottom: 14px;
        color: #000;
        line-height: 1.4;
        border-bottom: 1px solid lightgray;
    }

    .modal-description {
        font-size: 12px;
        color: #666;
        margin: 0 0 30px 0;
        line-height: 1.5;
    }

    .checkbox-item {
        margin-bottom: 25px;
        display: flex;
        align-items: start;
        gap: 12px;
      }
      
      /* Hide native checkbox */
      .checkbox-input {
        display: none;
      }
      
      /* Style the custom checkbox */
      .checkbox-label {
        width: 20px;
        height: 20px;
        border: 2px solid #ccc;
        border-radius: 2px;
        display: inline-block;
        cursor: pointer;
        position: relative;
        margin-top: 5px;
      }
      
      /* Add checkmark when checked */
      .checkbox-input:checked + .checkbox-label::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: black;
        font-size: 16px;
        font-weight: bold;
      }
      
      /* Yellow background when checked */
      .checkbox-input:checked + .checkbox-label {
        background-color: #FFD700;
        border-color: #FFD700;
      }
      
    .checkbox-text {
        font-size: 14px;
        color: #000;
        line-height: 1.4;
        flex: 1;
    }

    .save-changes-btn:hover:not(:disabled) {
        background: #FFC700;
        transform: translateY(-1px);
    }

    .save-changes-btn:disabled {
        background: #E0E0E0;
        color: #9E9E9E;
        cursor: not-allowed;
        transform: none;
    }
    
    .privacy-policy-link {
        text-align: center;
        margin-top: 10px;
    }
    .privacy-policy-link a {
        color: black;
    }
}#character-form {
    div {
        direction: ltr;
        display: flex;
        justify-content: space-evenly;
        margin-top: 32px;

        input {
            height: 44px;
            width: 44px;
            padding: 10px 0;
            text-align: center;
            font-size: 18px;
            font-weight: 500;
            line-height: 24px;
        }

    }

    button {
        margin: 32px 0;
    }

    span {
        display: flex;
        align-items: center;
        color: var(--error-400);
        
        svg {
            margin-left: 4px;
        }
    }
}#secondary-button {
    border-radius: 50px;
    padding: 12px 10px;
    border: 1px solid var(--grey-400);
    color: var(--grey-800);
    background-color: var(--grey-200);
}

#secondary-button:disabled {
    background-color: #d3d3d3;
    color: #777;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}#confirm-main {
    width: 100%;

    #top {
        padding: 20px 20px 0 20px;

        button {
            margin-bottom: 32px;
        }
    }

    #bottom {
        width: 100%;

        #or {
            position: relative;
            display: flex;
            justify-content: center;
        }

        #or::before,
        #or::after {
            content: '';
            position: absolute;
            height: 1px;
            background-color: var(--grey-400);
            width: calc(50% - 32px);
            top: calc(50% - 0.5px);
        }

        #or::before {
            right: 0;
        }

        #or::after {
            left: 0;
        }

        #button-div {
            width: 100%;
            display: flex;
            flex-direction: column;
            padding: 0 20px;
            margin-top: 28px;

            :first-child {
                margin-bottom: 12px;
            }
        }
    }
}#memorial-creation-1 {
    padding: 20px 20px 0 20px;

    form {
        margin-top: 32px;

        input {
            text-align: right;
            font-size: 16px;
        }

        >div {
            width: 100%;

            input {
                padding: 12px 16px;
                font-size: 16px;
            }
        }

        button {
            margin-top: 32px;
        }
    }
}

.locked-sections {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.locked-section {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  /* background-color: #f5f5f5; */
  padding: 16px;
  border-radius: 8px;
  width: 100%;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s;
}

.locked-section:hover {
  background-color: #ebebeb;
}

.locked-section-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  margin-left: 40px;
}

.section-title {
  font-weight: bold;
  font-size: 14px;
  color: #000;
  text-align: right;
}

.lock-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.locked-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
  text-align: right;
}

/* Radio button styles */
.MuiFormControlLabel-root {
  margin: 0 !important;
  position: absolute;
  left: 16px;
  top: 16px;
  transform: none;
}

.custom-radio {
  padding: 0 !important;
}

.MuiFormControlLabel-label {
  display: none;
}

/* RTL Support */
[dir="rtl"] .locked-section {
  flex-direction: row-reverse;
}

[dir="rtl"] .locked-section-content {
  margin-left: 0;
  margin-right: 40px;
}

[dir="rtl"] .MuiFormControlLabel-root {
  left: auto;
  right: 16px;
}

/* Make radio buttons larger */
.MuiRadio-root {
  transform: scale(1.2);
}

/* Container styles */
.contact-permission-group {
  width: 100%;
}

.password-setup {
  padding: 20px;
  max-width: 400px;
  margin: 0 auto;
}

.password-setup h2 {
  text-align: right;
  margin-bottom: 16px;
}

.password-setup p {
  text-align: right;
  color: #666;
  margin-bottom: 24px;
}

.password-setup form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.password-setup .MuiTextField-root {
  width: 100%;
}
.react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {
  border-color: #ccc;
  border-style: solid;
  border-width: 3px 3px 0 0;
  content: "";
  display: block;
  height: 9px;
  position: absolute;
  top: 6px;
  width: 9px;
}
.react-datepicker-wrapper {
  display: inline-block;
  padding: 0;
  border: 0;
}

.react-datepicker {
  font-family: "Helvetica Neue", helvetica, arial, sans-serif;
  font-size: 0.8rem;
  background-color: #fff;
  color: #000;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  display: inline-block;
  position: relative;
  line-height: initial;
}

.react-datepicker--time-only .react-datepicker__time-container {
  border-left: 0;
}
.react-datepicker--time-only .react-datepicker__time,
.react-datepicker--time-only .react-datepicker__time-box {
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.react-datepicker-popper {
  z-index: 1;
  line-height: 0;
}
.react-datepicker-popper .react-datepicker__triangle {
  stroke: #aeaeae;
}
.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
  fill: #f0f0f0;
  color: #f0f0f0;
}
.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
  fill: #fff;
  color: #fff;
}

.react-datepicker__header {
  text-align: center;
  background-color: #f0f0f0;
  border-bottom: 1px solid #aeaeae;
  border-top-left-radius: 0.3rem;
  padding: 8px 0;
  position: relative;
}
.react-datepicker__header--time {
  padding-bottom: 8px;
  padding-left: 5px;
  padding-right: 5px;
}
.react-datepicker__header--time:not(.react-datepicker__header--time--only) {
  border-top-left-radius: 0;
}
.react-datepicker__header:not(.react-datepicker__header--has-time-select) {
  border-top-right-radius: 0.3rem;
}

.react-datepicker__year-dropdown-container--select,
.react-datepicker__month-dropdown-container--select,
.react-datepicker__month-year-dropdown-container--select,
.react-datepicker__year-dropdown-container--scroll,
.react-datepicker__month-dropdown-container--scroll,
.react-datepicker__month-year-dropdown-container--scroll {
  display: inline-block;
  margin: 0 15px;
}

.react-datepicker__current-month,
.react-datepicker-time__header,
.react-datepicker-year-header {
  margin-top: 0;
  color: #000;
  font-weight: bold;
  font-size: 0.944rem;
}

h2.react-datepicker__current-month {
  padding: 0;
  margin: 0;
}

.react-datepicker-time__header {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.react-datepicker__navigation {
  align-items: center;
  background: none;
  display: flex;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  position: absolute;
  top: 2px;
  padding: 0;
  border: none;
  z-index: 1;
  height: 32px;
  width: 32px;
  text-indent: -999em;
  overflow: hidden;
}
.react-datepicker__navigation--previous {
  left: 2px;
}
.react-datepicker__navigation--next {
  right: 2px;
}
.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
  right: 85px;
}
.react-datepicker__navigation--years {
  position: relative;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__navigation--years-previous {
  top: 4px;
}
.react-datepicker__navigation--years-upcoming {
  top: -4px;
}
.react-datepicker__navigation:hover *::before {
  border-color: #a6a6a6;
}

.react-datepicker__navigation-icon {
  position: relative;
  top: -1px;
  font-size: 20px;
  width: 0;
}
.react-datepicker__navigation-icon--next {
  left: -2px;
}
.react-datepicker__navigation-icon--next::before {
  transform: rotate(45deg);
  left: -7px;
}
.react-datepicker__navigation-icon--previous {
  right: -2px;
}
.react-datepicker__navigation-icon--previous::before {
  transform: rotate(225deg);
  right: -7px;
}

.react-datepicker__month-container {
  float: left;
}

.react-datepicker__year {
  margin: 0.4rem;
  text-align: center;
}
.react-datepicker__year-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 180px;
}
.react-datepicker__year .react-datepicker__year-text {
  display: inline-block;
  width: 4rem;
  margin: 2px;
}

.react-datepicker__month {
  margin: 0.4rem;
  text-align: center;
}
.react-datepicker__month .react-datepicker__month-text,
.react-datepicker__month .react-datepicker__quarter-text {
  display: inline-block;
  width: 4rem;
  margin: 2px;
}

.react-datepicker__input-time-container {
  clear: both;
  width: 100%;
  float: left;
  margin: 5px 0 10px 15px;
  text-align: left;
}
.react-datepicker__input-time-container .react-datepicker-time__caption {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {
  display: inline-block;
  margin-left: 10px;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {
  width: auto;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {
  -moz-appearance: textfield;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {
  margin-left: 5px;
  display: inline-block;
}

.react-datepicker__time-container {
  float: right;
  border-left: 1px solid #aeaeae;
  width: 85px;
}
.react-datepicker__time-container--with-today-button {
  display: inline;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  position: absolute;
  right: -87px;
  top: 0;
}
.react-datepicker__time-container .react-datepicker__time {
  position: relative;
  background: white;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
  width: 85px;
  overflow-x: hidden;
  margin: 0 auto;
  text-align: center;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
  list-style: none;
  margin: 0;
  height: calc(195px + 1.7rem / 2);
  overflow-y: scroll;
  padding-right: 0;
  padding-left: 0;
  width: 100%;
  box-sizing: content-box;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {
  height: 30px;
  padding: 5px 10px;
  white-space: nowrap;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {
  background-color: #216ba5;
  color: white;
  font-weight: bold;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {
  background-color: #216ba5;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {
  color: #ccc;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {
  cursor: default;
  background-color: transparent;
}

.react-datepicker__week-number {
  color: #ccc;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable {
  cursor: pointer;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected,
.react-datepicker__week-number--keyboard-selected):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__week-number--selected {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__week-number--selected:hover {
  background-color: #1d5d90;
}
.react-datepicker__week-number--keyboard-selected {
  border-radius: 0.3rem;
  background-color: #2a87d0;
  color: #fff;
}
.react-datepicker__week-number--keyboard-selected:hover {
  background-color: #1d5d90;
}

.react-datepicker__day-names {
  white-space: nowrap;
  margin-bottom: -8px;
}

.react-datepicker__week {
  white-space: nowrap;
}

.react-datepicker__day-name,
.react-datepicker__day,
.react-datepicker__time-name {
  color: #000;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}

.react-datepicker__day,
.react-datepicker__month-text,
.react-datepicker__quarter-text,
.react-datepicker__year-text {
  cursor: pointer;
}
.react-datepicker__day:not([aria-disabled=true]):hover,
.react-datepicker__month-text:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text:not([aria-disabled=true]):hover,
.react-datepicker__year-text:not([aria-disabled=true]):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__day--today,
.react-datepicker__month-text--today,
.react-datepicker__quarter-text--today,
.react-datepicker__year-text--today {
  font-weight: bold;
}
.react-datepicker__day--highlighted,
.react-datepicker__month-text--highlighted,
.react-datepicker__quarter-text--highlighted,
.react-datepicker__year-text--highlighted {
  border-radius: 0.3rem;
  background-color: #3dcc4a;
  color: #fff;
}
.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {
  background-color: #32be3f;
}
.react-datepicker__day--highlighted-custom-1,
.react-datepicker__month-text--highlighted-custom-1,
.react-datepicker__quarter-text--highlighted-custom-1,
.react-datepicker__year-text--highlighted-custom-1 {
  color: magenta;
}
.react-datepicker__day--highlighted-custom-2,
.react-datepicker__month-text--highlighted-custom-2,
.react-datepicker__quarter-text--highlighted-custom-2,
.react-datepicker__year-text--highlighted-custom-2 {
  color: green;
}
.react-datepicker__day--holidays,
.react-datepicker__month-text--holidays,
.react-datepicker__quarter-text--holidays,
.react-datepicker__year-text--holidays {
  position: relative;
  border-radius: 0.3rem;
  background-color: #ff6803;
  color: #fff;
}
.react-datepicker__day--holidays .overlay,
.react-datepicker__month-text--holidays .overlay,
.react-datepicker__quarter-text--holidays .overlay,
.react-datepicker__year-text--holidays .overlay {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}
.react-datepicker__day--holidays:not([aria-disabled=true]):hover,
.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {
  background-color: #cf5300;
}
.react-datepicker__day--holidays:hover .overlay,
.react-datepicker__month-text--holidays:hover .overlay,
.react-datepicker__quarter-text--holidays:hover .overlay,
.react-datepicker__year-text--holidays:hover .overlay {
  visibility: visible;
  opacity: 1;
}
.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,
.react-datepicker__month-text--selected,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--selected,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--selected,
.react-datepicker__year-text--in-selecting-range,
.react-datepicker__year-text--in-range {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__day--selected:not([aria-disabled=true]):hover, .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, .react-datepicker__day--in-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {
  background-color: #1d5d90;
}
.react-datepicker__day--keyboard-selected,
.react-datepicker__month-text--keyboard-selected,
.react-datepicker__quarter-text--keyboard-selected,
.react-datepicker__year-text--keyboard-selected {
  border-radius: 0.3rem;
  background-color: #bad9f1;
  color: rgb(0, 0, 0);
}
.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {
  background-color: #1d5d90;
}
.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range) {
  background-color: rgba(33, 107, 165, 0.5);
}
.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range) {
  background-color: #f0f0f0;
  color: #000;
}
.react-datepicker__day--disabled,
.react-datepicker__month-text--disabled,
.react-datepicker__quarter-text--disabled,
.react-datepicker__year-text--disabled {
  cursor: default;
  color: #ccc;
}
.react-datepicker__day--disabled .overlay,
.react-datepicker__month-text--disabled .overlay,
.react-datepicker__quarter-text--disabled .overlay,
.react-datepicker__year-text--disabled .overlay {
  position: absolute;
  bottom: 70%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}

.react-datepicker__input-container {
  position: relative;
  display: inline-block;
  width: 100%;
}
.react-datepicker__input-container .react-datepicker__calendar-icon {
  position: absolute;
  padding: 0.5rem;
  box-sizing: content-box;
}

.react-datepicker__view-calendar-icon input {
  padding: 6px 10px 5px 25px;
}

.react-datepicker__year-read-view,
.react-datepicker__month-read-view,
.react-datepicker__month-year-read-view {
  border: 1px solid transparent;
  border-radius: 0.3rem;
  position: relative;
}
.react-datepicker__year-read-view:hover,
.react-datepicker__month-read-view:hover,
.react-datepicker__month-year-read-view:hover {
  cursor: pointer;
}
.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {
  border-top-color: #b3b3b3;
}
.react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  transform: rotate(135deg);
  right: -16px;
  top: 0;
}

.react-datepicker__year-dropdown,
.react-datepicker__month-dropdown,
.react-datepicker__month-year-dropdown {
  background-color: #f0f0f0;
  position: absolute;
  width: 50%;
  left: 25%;
  top: 30px;
  z-index: 1;
  text-align: center;
  border-radius: 0.3rem;
  border: 1px solid #aeaeae;
}
.react-datepicker__year-dropdown:hover,
.react-datepicker__month-dropdown:hover,
.react-datepicker__month-year-dropdown:hover {
  cursor: pointer;
}
.react-datepicker__year-dropdown--scrollable,
.react-datepicker__month-dropdown--scrollable,
.react-datepicker__month-year-dropdown--scrollable {
  height: 150px;
  overflow-y: scroll;
}

.react-datepicker__year-option,
.react-datepicker__month-option,
.react-datepicker__month-year-option {
  line-height: 20px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__year-option:first-of-type,
.react-datepicker__month-option:first-of-type,
.react-datepicker__month-year-option:first-of-type {
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}
.react-datepicker__year-option:last-of-type,
.react-datepicker__month-option:last-of-type,
.react-datepicker__month-year-option:last-of-type {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__year-option:hover,
.react-datepicker__month-option:hover,
.react-datepicker__month-year-option:hover {
  background-color: #ccc;
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {
  border-bottom-color: #b3b3b3;
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {
  border-top-color: #b3b3b3;
}
.react-datepicker__year-option--selected,
.react-datepicker__month-option--selected,
.react-datepicker__month-year-option--selected {
  position: absolute;
  left: 15px;
}

.react-datepicker__close-icon {
  cursor: pointer;
  background-color: transparent;
  border: 0;
  outline: 0;
  padding: 0 6px 0 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}
.react-datepicker__close-icon::after {
  cursor: pointer;
  background-color: #216ba5;
  color: #fff;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  padding: 2px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  content: "×";
}
.react-datepicker__close-icon--disabled {
  cursor: default;
}
.react-datepicker__close-icon--disabled::after {
  cursor: default;
  background-color: #ccc;
}

.react-datepicker__today-button {
  background: #f0f0f0;
  border-top: 1px solid #aeaeae;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  padding: 5px 0;
  clear: left;
}

.react-datepicker__portal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  z-index: 2147483647;
}
.react-datepicker__portal .react-datepicker__day-name,
.react-datepicker__portal .react-datepicker__day,
.react-datepicker__portal .react-datepicker__time-name {
  width: 3rem;
  line-height: 3rem;
}
@media (max-width: 400px), (max-height: 550px) {
  .react-datepicker__portal .react-datepicker__day-name,
  .react-datepicker__portal .react-datepicker__day,
  .react-datepicker__portal .react-datepicker__time-name {
    width: 2rem;
    line-height: 2rem;
  }
}
.react-datepicker__portal .react-datepicker__current-month,
.react-datepicker__portal .react-datepicker-time__header {
  font-size: 1.44rem;
}

.react-datepicker__children-container {
  width: 13.8rem;
  margin: 0.4rem;
  padding-right: 0.2rem;
  padding-left: 0.2rem;
  height: auto;
}

.react-datepicker__aria-live {
  position: absolute;
  clip-path: circle(0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  width: 1px;
  white-space: nowrap;
}

.react-datepicker__calendar-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}
.react-datepicker {
    background-color: #fdfdfd;
  }
  
  .react-datepicker__header {
    background-color: #fdfdfd;
  
    .react-datepicker__current-month {
      color: #0f2552;
      display: inline-block;
    }
  
    .react-datepicker__header__dropdown {
      display: inline-block;
    }
  }
  
  .react-datepicker__navigation {
    top: -22px;
  }
  
  .react-datepicker__day-name {
    color: #0f2552;
    font-family: Heebo;
    font-weight: 500;
  }
  
  .react-datepicker__day {
    font-family: Heebo;
    color: #0f2552;
    font-weight: 500;
  }
  
  .react-datepicker__calendar-icon {
    left: 0;
    top: calc(50% - 16px);
  }
  
  .react-datepicker__day--keyboard-selected {
    background-color: var(--info-300);
    color: #fdfdfd;
    border-radius: 42px;
  }
  
  /* DateInput.css */
  
  /* Target the previous and next month buttons in react-datepicker */
  
  
  .react-datepicker__navigation--previous .react-datepicker__navigation-icon,
  .react-datepicker__navigation--next .react-datepicker__navigation-icon {
    display: inline-block;
    border-width: 1px;
  }
  .password-setup {
  padding: 20px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  direction: rtl;
}

.password-setup h1 {
  font-size: 20px;
  margin-bottom: 4px;
  font-weight: 500;
  color: #000;
}

.subtitle {
  color: #666;
  margin-bottom: 24px;
  font-size: 14px;
}

.digit-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  direction: ltr;
  padding: 0 40px;
}

.digit-input {
  width: 56px;
  height: 56px;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.digit-input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}

.error-message {
  color: #FF3B30;
  margin-bottom: 16px;
  font-size: 14px;
}

.submit-button {
  width: 100%;
  padding: 14px;
  background-color: #FFD700;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 16px;
  color: #000;
  transition: opacity 0.2s ease;
}

.submit-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.submit-button:disabled {
  background-color: #FFD700;
}

.submit-button:not(:disabled):hover {
  background-color: #FFC700;
}

.or-divider {
  margin: 16px 0;
  color: #666;
  font-size: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #E0E0E0;
}

.password-back-button {
  width: 100%;
  padding: 14px;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #000;
  margin-top: 0;
}

.password-back-button:hover {
  background-color: #F5F5F5;
}

/* Style for filled inputs */
.digit-input:not(:placeholder-shown) {
  background-color: #F8F8F8;
  border-color: #000;
}

/* Update form to ensure proper spacing */
.password-setup form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.password-title {
  font-size: 20px;
  margin-bottom: 4px;
  font-weight: 500;
  color: #000;
  text-align: right;
  width: 100%;
} .password-success-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background-color: white;
  padding: 24px;
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  text-align: right;
  direction: rtl;
}

.modal-content h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #000;
}

.modal-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.4;
}

.modal-button {
  width: 100%;
  padding: 14px;
  background-color: #FFD700;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #000;
  margin-top: 8px;
}

.modal-button:hover {
  background-color: #FFC700;
}

.modal-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
} .user-profile {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  img {
    width: inherit;
    height: inherit;
    object-fit: cover;
    border-radius: 50%;
  }
}

#user-main {
  padding: 20px 20px 0 20px;

  #top {
    margin-bottom: 32px;
  }

  .deceased-page {
    display: flex;
    align-items: center;
    position: relative;
    padding: 12px 0;
    cursor: pointer;

    svg {
      margin-left: 4px;
    }
  }

  .deceased-page::after {
    content: "";
    position: absolute;
    height: 1px;
    background-color: var(--grey-600);
    width: 100%;
    bottom: 0;
  }
}

#are-you-sure-link-deceased-main {
  padding: 40px 20px;
  background-color: var(--grey-100);
  border-radius: 20px;
  position: relative;

  > svg {
    position: absolute;
    top: 20px;
    left: 20px;
  }

  .deceased-page {
    display: flex;
    align-items: center;
    position: relative;
    padding: 12px 0;
    cursor: pointer;
    margin-bottom: 32px;

    svg {
      margin-left: 4px;
    }
  }

  .deceased-page::after {
    content: "";
    position: absolute;
    height: 1px;
    background-color: var(--grey-600);
    width: 100%;
    bottom: 0;
  }
}
.user-profile {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  img {
    width: inherit;
    height: inherit;
    object-fit: cover;
    border-radius: 50%;
  }
}

.deceased-page {
  display: flex;
  column-gap: 10px;
}
#update-page-main {
  #picture-section {
    position: relative;
    margin-bottom: 43px;
  }
  #middle-section {
    margin-bottom: 10px;
  }
}

.update-header{
    margin: 5px 0px;
}

.update-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-button {
  all: unset;
  position: absolute;
  top: 5px;
  left: 16px;
}
#empty-background-image-main {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: var(--grey-400);
    display: flex;
    justify-content: center;
    align-items: center;

    #upload-picture {
        position: absolute;
        width: 36px;
        height: 36px;
        bottom: 11px;
        left: 20px;
        border: 1px solid var(--grey-100);
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

#background-image-main {
    width: 100%;
    position: relative;

    #upload-picture {
        position: absolute;
        width: 36px;
        height: 36px;
        bottom: 11px;
        left: 20px;
        background-color: var(--grey-400);
        border: 1px solid var(--grey-100);
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    img {
        width: 100%;
        aspect-ratio: 1280 / 720;
        object-fit: cover;

    }
}#empty-profile-image-main {
  height: 108px;
  width: 108px;
  font-weight: 600;
  font-size: 48px;
  border-radius: 50%;
  color: var(--grey-500);
  background-color: var(--grey-400);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid var(--grey-100);
  position: absolute;
  bottom: -40px;
  right: 16px;

  #upload-picture {
    position: absolute;
    bottom: 6px;
    left: 0;
    background-color: var(--grey-400);
    height: 32px;
    width: 32px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--grey-100);
  }
}

#profile-image-main {
  height: 108px;
  width: 108px;
  font-weight: 600;
  font-size: 48px;
  border-radius: 50%;
  color: var(--grey-500);
  background-color: var(--grey-100);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid var(--grey-100);
  position: absolute;
  bottom: -40px;
  right: 16px;

  img {
    width: inherit;
    height: inherit;
    border-radius: 50% !important;
  }

  #upload-picture {
    position: absolute;
    bottom: 6px;
    left: 0;
    background-color: var(--grey-400);
    height: 32px;
    width: 32px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--grey-100);
  }
}

#profile-image-main .photo-image-src {
  width: inherit;
  height: inherit;
  object-fit: cover;
  border-radius: 20px;
}
#middle-section-update-page-main {
  padding: 0 20px;

  form {
    input {
      direction: rtl;
    }

    #date-inputs-div {
      display: flex;
      gap: 12px;

      .date-input-div {
        width: calc(50% - 6px);
        display: flex;
        flex-direction: column;
      }

      button {
        margin-top: 32px;
      }

      .react-datepicker__calendar-icon {
        top: 5px;
      }
    }
  }
}

.locked-sections {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.locked-section {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  /* background-color: #f5f5f5; */
  padding: 16px;
  border-radius: 8px;
  width: 100%;
  position: relative;
}

.locked-section-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  margin-left: 40px;
}

.section-title {
  font-weight: bold;
  font-size: 14px;
  color: #000;
  text-align: right;
}

.lock-icon {
  color: #666;
  font-size: 20px;
  margin-top: 2px;
}

.locked-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
  text-align: right;
}

/* Radio button styles */
.MuiFormControlLabel-root {
  margin: 0 !important;
  position: absolute;
  left: 16px;
  top: 16px;
  transform: none;
}

.custom-radio {
  padding: 0 !important;
}

.MuiFormControlLabel-label {
  display: none;
}

/* RTL Support */
[dir="rtl"] .locked-section {
  flex-direction: row-reverse;
}

[dir="rtl"] .locked-section-content {
  margin-left: 0;
  margin-right: 40px;
}

[dir="rtl"] .MuiFormControlLabel-root {
  left: auto;
  right: 16px;
}

/* Make radio buttons larger */
.MuiRadio-root {
  transform: scale(1.2);
}

/* Container styles */
.contact-permission-group {
  width: 100%;
}
#select-section-update-page-main {
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
}
.select-section-title-list {
  display: flex;
  border-bottom: 1px solid #d1d5db; /* Gray 400 color */
  justify-content: space-between;
  column-gap: 10px;
  width: 100%; /* Adjust as needed */
  overflow-x: auto; /* Enable horizontal scrolling */
  white-space: nowrap; /* Prevent buttons from wrapping */
  /* Hide scrollbar for Webkit browsers (Chrome, Safari) */
  -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}
.select-section-title {
  padding: 10px 0px;
  cursor: pointer;
}

.section-element {
  margin-top: 24px;
  margin-bottom: 30px;
}

.select-section-title-list ::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Webkit browsers */
}
.save-button {
  float: left;
  padding: 6px 15px;
  background-color: #F6D967; /* Active state */
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  color: #000;
  -webkit-text-fill-color: #000; /* iOS Safari fix */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* Hover (only when enabled) */
.save-button:hover:enabled {
  background-color: #f4cc3e; /* Slightly deeper yellow for hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  /* transform: translateY(-1px); */
}

/* Active (pressed) */
.save-button:active:enabled {
  background-color: #e6bf37; /* Slightly darker tone */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  /* transform: translateY(1px); */
}

/* Disabled */
.save-button:disabled {
  background-color: #D1C38F; /* Professional muted gold */
  color: #666;
  -webkit-text-fill-color: #666;
  cursor: not-allowed;
  opacity: 0.8;
  box-shadow: none;
  transform: none;
}

.life-menu{
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 3;
    min-width: 120px;
}
.time-line-section {
  /* margin: 0px 0px 0px 36px; */
  /* border-right: 1px solid black; */
  height: 100%;
  display: inline-grid;
  position: relative;
  align-items: start;
  grid-template-columns: 1fr 2fr;
  column-gap: 20px;
}

.time-line-main {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.parent-of-save-button {
  position: relative;
  margin-top: 10px;
}

.time-line-form {
  position: relative;
}

.time-right-section {
  border-right: 1px solid black;
}

.line-design {
  display: flex;
  padding: 10px 0px;
  column-gap: 5px;
  align-items: center;
}

.design-line {
  border-top: 1px solid black;
  height: 0px;
  width: 100%;
}

.design-spot {
  min-height: 8px;
  min-width: 8px;
  max-height: 8px;
  max-width: 8px;
  border-radius: 2px;
  background-color: var(--primary-400);
}

.time-line-image {
  width: 197.56px;
  margin-top: 4px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background-color: var(--grey-400);
}
.time-line-image .photo-image-src {
  width: inherit;
  height: inherit;
  object-fit: cover;
  border-radius: 20px;
}

/* timeline normal view */
.time-normal-view-section {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
  margin: 0px 10px 0px 0px;
  border-right: 1px solid black;
}
.time-normal-year {
  color: var(--primary-400);
}
.time-line-normal-view {
  padding: 3px 0px;
}
.time-line-year-section {
  display: flex;
  column-gap: 10px;
  justify-content: start;
  align-items: center;
  margin-bottom: 10px;
  width: 100%; /* Adjust as needed */
  overflow-x: auto; /* Enable horizontal scrolling */
  white-space: nowrap; /* Prevent buttons from wrapping */
  /* Hide scrollbar for Webkit browsers (Chrome, Safari) */
  -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.time-line-year-section::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Webkit browsers */
}

.dots_position {
  position: relative;
}
.dots_relative_position {
  position: absolute;
  top: 0;
  left: 0;
}

.time-line-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.time-line-header .memory-delete-icon {
  padding-top: 7px;
}

.share-timeline-text {
  margin-bottom: 8px;
}#year-button {
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer; /* Pointer cursor on hover */
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  color: #000;
}
/* .slider-con {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.6);
}

.slid {
  position: absolute;
  top: 50px;
  width: 80%;
  height: 80vw;
  background: var(--tertiary-light);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 5px;
  border-radius: 1rem;
}


.slider-image-src {
  height: inherit;
  width: inherit;
  object-fit: cover;
}
/* .slick-track {
  transform: translate3d(190px, 0px, 0px) !important;
} */

/* .slider-image-parent {
  height: 100px;
  width: 100px;
} */
.slid {
  position: absolute;
  top: 50px;
  width: 100%;

  background: var(--tertiary-light);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 5px;
  border-radius: 1rem;
}

.slider-close-btn {
  width: 50px;

  background-color: transparent;
  align-self: flex-start;
  color: white;
  border: none;

  cursor: pointer;
  font-size: 1.2rem;
}
.carousel-container {
  margin: auto;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  z-index: 100;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.6);
}

.carousel {
  width: inherit;
  display: flex;
  justify-content: center;
  width: 100%;

  height: 100%;
  img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    /* max-width: 168px; */
    /* height: 500px; */
    object-fit: contain;
  }
  video {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  button {
    height: 30px;
    width: 30px;
    padding: 20px;

    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      width: inherit;
      height: inherit;
      object-fit: contain;
    }
  }
}
.memory-content-data {
  line-height: 1.5;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 10; /* Limit to 10 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expanded {
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}

.read-more-btn {
  margin: 10px auto;
  padding: 5px 10px;
  border: none;
  background-color: var(--primary-400);
  color: #000;
  border-radius: 4px;
  font-size: 14px;
}

.read-more-btn:hover {
  background-color: #ffa222;
}
button {
  cursor: pointer;
}
.delete-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 45%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .delete-timeline {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 10%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .delete-background {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
  
    background-color: white;
    padding: 30px 20px;
    border-radius: 20px;
    height: 244px;
    width: 90%;
    max-width: 400px;
  }
  .delete-icon {
    position: absolute;
    cursor: pointer;
    background: none;
    border: none;
    top: 11px;
    left: 12px;
  }
  
  .delete-button-section {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }
  .delete-button-section #primary-button{
    color: #000;
  }
  
  .delete-sec-button {
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 16px;
    height: 48px;
    cursor: pointer; /* Pointer cursor on hover */
    display: flex;
    column-gap: 5px;
    width: 100%;
    border: 1px solid var(--grey-500);
    background: none;
    display: flex;
    justify-content: center;
    color: var(--grey-600);
    align-items: center;
    border-radius: 50px;
  }
  .delete-title {
    font-size: 20px;
  }
  .photo-section-main {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.photo-image {
  width: 158px;
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 8px;
  background-color: var(--grey-400);
}
.photo-image .photo-image-src {
  width: inherit;
  height: inherit;
  border-radius: 8px;
  object-fit: cover;
}
.photo-section {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(2, auto); /* Two columns */
  gap: 5px; /* Space between images */

  width: 100%;
}
.save-photo-button {
  padding: 6px 15px;
  background-color: #cdb75b;
  border-radius: 50px;
  align-self: flex-end;
  font-size: 16px;
  width: 140px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow effect */
  cursor: pointer; /* Pointer cursor on hover */
  border: 0;
}

/* normal view */
.photo-comment-icon {
  background-color: rgba(43, 42, 39, 0.8);
  border: none;
  width: 34.67px;
  height: 24px;
  padding: 5.33px 10.67px;
  position: absolute;
  border-radius: 33.33px;
  bottom: 5.33px;
  right: 10.67px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-section-main {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.video {
  position: relative;
  width: 158px;
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: var(--grey-400);
}
.video-click-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  cursor: pointer;
}
.video-section {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(2, auto); /* Two columns */
  gap: 5px; /* Space between images */

  width: 100%;
}

.video-show {
  width: inherit;
  height: inherit;
  object-fit: cover;
  border-radius: 8px;
}

.video-comment-icon {
  background-color: rgba(43, 42, 39, 0.8);
  border: none;
  width: 34.67px;
  height: 24px;
  padding: 5.33px 10.67px;
  position: absolute;
  border-radius: 33.33px;
  top: 5.33px;
  right: 10.67px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.memory-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 10px;
  position: relative;
}
.memory-delete-icon {
  cursor: pointer;
  background: white;
  border: none;
}

.memory-image-create > img {
  object-fit: cover;
}

.memory-section-content {
  display: flex;
  column-gap: 10px;
  justify-content: start;
  align-items: start;
}

.memory-drag-icon {
  background: none;
  cursor: pointer;
  border: none;
}

.memory-section {
  display: flex;
  column-gap: 10px;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
  width: 100%;
}

.memory-right-content {
  display: flex;
  column-gap: 10px;
  justify-content: center;
  align-items: center;
}

.memory-image {
  height: 96px;
  width: 100px;
  display: flex;
  align-items: baseline;
}
.memory-image-create {
  min-height: 96px;
  min-width: 96px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--grey-400);
}

.memory-image > img {
  min-width: 96px;
  min-height: 96px;
  max-width: 96px;
  max-height: 96px;
  object-fit: cover;
}

.memory-image .photo-image-src {
  width: inherit;
  height: inherit;
  object-fit: cover;
  border-radius: 4px;
}

.memory-section-create {
  display: flex;
  column-gap: 10px;
  justify-content: right;
  align-items: center;
}

.memory-content-title {
  font-family: Heebo;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  text-align: right;
  padding-left: 26px;
}

.memory-section-parent {
  display: flex;
  flex-direction: column;
}

.memory-normal-view {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.memory-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.save-memory-button {
  padding: 6px 15px;
  background-color: #cdb75b;
  border-radius: 50px;
  align-self: flex-end;
  font-size: 16px;
  width: 140px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow effect */
  cursor: pointer; /* Pointer cursor on hover */
  border: 0;
}

.memory-loading-spinner {
  text-align: center;
  padding: 20px;
  color: #555;
  font-style: italic;
}



/* .memory-image-container {
    position: relative;
    display: inline-block;
} */

.memory-image img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.dots-button {
    position: absolute;
    top: 0px;
    left: 0px;
    border: none;
    font-size: 16px;
    padding: 4px 6px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    background-color: transparent;
}

.popup-menu {
    position: absolute;
    top: 24px;
    left: 8px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 3;
    min-width: 120px;
}

.popup-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-appearance: none;
    appearance: none;
    color:#000;
}

.popup-item:hover {
    background-color: #f2f2f2;
}
#upload-single-picture-main {
    position: relative;
    width: 100%;

    #profile-image-main,
    #empty-profile-image-main {
        top: 112px;
    }

    #buttons {
        margin-top: 32px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;

        button {
            width: 100%;
        }
    }
}

#upload-single-picture-main-profile {
    width: 100%;

    #profile-image-main,
    #empty-profile-image-main {
        position: relative;
        top: 0;
        right: 0;
        height: auto;
        width: 100%;
        aspect-ratio: 1;
        border-radius: 0;
        overflow: hidden;
    }

    #profile-image-main::after,
    #empty-profile-image-main::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        box-shadow: 0 0 0 200px rgba(0, 0, 0, 0.5);
    }

    #buttons {
        margin-top: 32px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;

        button {
            width: 100%;
        }
    }

}.Crop-Controls {
  margin-bottom: 10px;
  
  button {
    margin-top: 20px;
    width: 100%;
  }
}
.Crop-Controls > * {
  margin-bottom: 3px;
  
}

.App {
  padding: 0px 43px;
  text-align: center;
}

#buttons {
  margin-top: 32px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;

  button {
    width: 100%;
  }
}

#upload-single-picture-main-profile {
  width: 100%;

  #profile-image-main,
  #empty-profile-image-main {
    position: relative;
    top: 0;
    right: 0;
    height: auto;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
  }

  #profile-image-main::after,
  #empty-profile-image-main::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 200px rgba(0, 0, 0, 0.5);
  }

  #buttons {
    margin-top: 32px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;

    button {
      width: 100%;
    }
  }
}

.upload-video {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.upload-video video, .crop-image {
  max-height: calc(100vh - 340px);
}

/* Dark shade layer over video */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 340px);
}

.upload-progress-wrapper {
  position: absolute;
  top: 50%;                
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 600px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}


/* Top row with text on both sides */
.upload-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 0 2px;
}

/* Left text */
.upload-status-text {
  font-size: 12px;
  opacity: 0.9;
}

/* Right text (percentage) */
.upload-progress-text {
  font-size: 13px;
  opacity: 1;
}

/* Progress bar container (keeps same style) */
.upload-progress-container {
  height: 11px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  overflow: hidden;
}

.upload-progress-bar {
  height: 100%;
  background-color: #ffd000;
  transition: width 0.3s ease;
}
 
.compression-progress {
    margin: 20px 0;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease-in-out;
}

.progress-text {
    font-size: 14px;
    color: #666;
}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}
.middle-section-quote {
  display: flex;
  column-gap: 10px;
  padding-bottom: 5px;
}

#middle-section {
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  row-gap: 7px;
}

.middle-seciton-name-and-date {
  display: flex;
  flex-direction: column;
}

.middle-seciton-name-and-date .loving-text {
  font-size: 14px;
}

.middle-button-section {
  display: flex;
  column-gap: 10px;
  justify-content: center;
  align-items: center;
}

.mid-sec-button {
  display: flex;
  column-gap: 5px;
  width: 100%;
  height: 40px;
  border: 2px solid var(--grey-600);
  background: none;
  display: flex;
  justify-content: center;
  color: var(--grey-600);
  align-items: center;
  border-radius: 50px;
}

.mid-sec-btn-text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.warning {
  padding: 12px 20px;
  border: 1px solid #ffeeba;
  border-radius: 4px;
  background-color: #fff3cd;
  color: #856404;
  font-size: 14px;
  line-height: 1.5;
}
.private-account-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 20px;
}

.modal-content {
  padding: 24px;
  max-width: 400px;
  width: 100%;
  text-align: right;
  direction: rtl;
}

.modal-content h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #000;
}

.modal-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.4;
}

.modal-submit-button {
  width: 100%;
  padding: 14px;
  background-color: #FFD700;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #000;
  margin-top: 8px;
}

.modal-submit-button:hover {
  background-color: #FFC700;
}

.submit-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.or-divider {
  margin: 16px 0;
  color: #666;
  font-size: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #E0E0E0;
}

.modal-back-button {
  width: 100%;
  padding: 14px;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #000;
}

.modal-back-button:hover {
  background-color: #F5F5F5;
}

/* Password input styles */
.password-verification {
  padding: 20px;
  max-width: 400px;
  margin: 0 auto;
  direction: rtl;
}

.digit-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  direction: ltr;
  padding: 0 40px;
}

.digit-input {
  width: 56px;
  height: 56px;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.digit-input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}

.digit-input:not(:placeholder-shown) {
  background-color: #F8F8F8;
  border-color: #000;
}

.error-message {
  color: #FF3B30;
  margin-bottom: 16px;
  font-size: 14px;
}

.password-title {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-align: right;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: #666;
  text-align: right;
  margin-bottom: 24px;
  line-height: 1.4;
}

.password-verification form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.password-verification .MuiTextField-root {
  width: 100%;
} 

.private-modal-title{
  text-align: center !important;
  margin: 20px 0px 40px 0px;
}

.private-modal-desc {
  margin-bottom: 30px;;
}

.private-modal-desc p{
  text-align: center !important;
}.candle-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.candle-modal-content {
  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 360px;
  height: 620px;
  position: relative;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-blend-mode: overlay;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.close-button {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button img {
  width: 16px;
  height: 16px;
}

.candle-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.candle-modal-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.candle-modal-header h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  color: white;
}

.candle-modal-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.candle-animation {
  margin: 24px 0;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.candle-image {
  width: 120px;
  height: auto;
  position: relative;
  z-index: 2;
}

/* Adjust glow effect to touch edges */
.candle-animation::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 240, 0.3) 30%,
    rgba(246, 217, 103, 0) 60%
  );
  z-index: 1;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.02);
  }
}

/* Adjust flicker to be more subtle */
@keyframes flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.98;
  }
}

.candle-message {
  /* margin: 16px 0 24px; */
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  opacity: 0.8;
  max-width: 280px;
}

.candle-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}

.top-buttons {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.action-button {
  border-radius: 19px;
  border: 1px solid #F6D967;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
  background-color: rgba(0, 0, 0, 0.5);
  color: #F6D967;
}

.light-candle-button, .add-memory-button {
  width: 129px;
  height: 32px;
  padding: 0;
}

.light-candle-button {
  background-color: #F6D967;
  color: #000000;
  border: none;
}

.write-memory-button {
  width: 162px;
  height: 41px;
  border-radius: 63px;
  padding: 12px 25px;
  margin: 20px auto 0;
  background: transparent;
  color: white;
  border: 1px solid white;
  gap: 10px;
} 
#share-memory-main {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  padding: 0px 20px;
}

.back-button {
  all: unset;
  position: absolute;
  top: 50px;
  left: 5px;
}

.memory-header {
  margin: 5px 0px;
}

.share-button {
  width: 100%;
  margin:20px 0px;
}

#share-image-section {
  width: 100%;
  height: 400px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  background-color: #f8f8f8;
}

.share-image {
  display: block;
  max-width: 100%;
  height: auto;
}
#modal-main {
    top: 64px;
    width: 100%;
    height: calc(100svh - 64px);
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}#error-page-main {
    padding: 20px 20px 0 20px;
}.expired_page{
     padding: 20px 20px 0 20px;
}.prayers-container {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  direction: rtl;
}

.prayers-header {
  text-align: center;
  margin-bottom: 32px;
}

.prayers-header h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.prayers-header p {
  color: #666;
  font-size: 16px;
}

.letters-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.letter-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.letter-btn {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid #F6D967;
  background: transparent;
  color: #000;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.letter-btn:hover {
  background: rgba(246, 217, 103, 0.1);
}

.letter-btn.active {
  background: #F6D967;
  color: #000;
  border-color: #F6D967;
}

.prayer-section {
  margin-bottom: 32px;
}

.prayer-section h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
  margin: 0 auto 16px;
}

.prayer-section h2::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 1px;
  background-color: #E5E5E5;
}

.prayer-text {
  background: #FFF9E6;
  padding: 24px;
  border-radius: 12px;
  line-height: 1.6;
}

.prayer-text p {
  margin-bottom: 16px;
}

.prayer-text p:last-child {
  margin-bottom: 0;
}

.prayer-text p:first-of-type {
  margin-top: 16px;
}

/* Container for the heading to help with centering */
.prayer-text h2 {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
} 
  /* Base container styles */
.privacy-settings-container {
  padding: 10px 26px;
  max-width: 600px;
  margin: 20px auto;
  font-family: 'Heebo', sans-serif;
  background-color: #fff;
  /* Removed min-height: 100vh to allow flexible height */
  min-height: auto;
  /* box-shadow: 0 4px 6px rgba(0,0,0,0.1); */
  border-radius: 8px;
}

/* Direction-specific adjustments */
.privacy-settings-container.rtl {
  direction: rtl;
  text-align: right;
}

.privacy-settings-container.ltr {
  direction: ltr;
  text-align: left;
}

/* Title styling */
.privacy-settings-container h1 {
  font-weight: 700;
  text-align: center;
  margin: 24px 0 32px;
  font-size: 1.75rem;
}

/* Description styling */
.privacy-description {
  margin-bottom: 32px;
  line-height: 1.5;
  color: #333;
  font-size: 1rem;
}

/* Options container */
.privacy-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* margin: 0 16px; */
}


.option-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  direction: rtl;
}

/* For RTL, reverse order so the icon is on the right */
.privacy-settings-container.rtl .option-content {
  flex-direction: row-reverse;
}

/* For LTR, icon on left */
.privacy-settings-container.ltr .option-content {
  flex-direction: row;
}
.privacy-settings-container.rtl h1 {
  text-align: right;
}
/* LTR: align to left */
.privacy-settings-container.ltr h1 {
  text-align: left;
  /* margin-left: 16px; */
}
.privacy-settings-container.ltr .privacy-description {
  text-align: left;
}

.privacy-settings-container.rtl .privacy-description {
  text-align: right;
}

.privacy-settings-container.rtl .settings-item-header {
  flex-direction: row;
}

.privacy-settings-container.ltr .settings-item-header {
  flex-direction: row-reverse;
}

.privacy-settings-container.ltr .arrow-icon {
  transform: rotate(180deg);
}

.privacy-settings-container.rtl .arrow-icon {
  transform: rotate(0deg);
}
.arrow-icon {
  transition: transform 0.3s ease;
}
.privacy-settings-container.rtl .settings-item-header .text-heading h2{
  text-align: right;
}

.ltr .settings-item-header .text-heading h2{
  text-align: left;
}

.privacy-icon {
  width: 32px;
  height: 32px;
}

/* Flip icons horizontally in LTR if needed */
.privacy-settings-container.ltr .privacy-icon {
  transform: scaleX(-1);
}

/* Option details */
.option-details {
  flex-grow: 1;
}

/* Label styling */
.option-details label {
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 8px;
}

/* Description styling */
.option-description {
  margin-top: 4px;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* Radio button styling */
.option-details input[type="radio"] {
  cursor: pointer;

}
.radio-btn{
  width: 32px;
  height: 32px;
}
.privacy-settings-container.rtl .radio-btn {
  margin-right: auto;
  margin-left:45px;
}

/* English (LTR) - push radio to right */
.privacy-settings-container.ltr .radio-btn {
  margin-left: auto;
  margin-right: 45px;
}

/* Footer buttons */
.privacy-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.save-changes-btn {
  width: 100%;
  padding: 14px;
  background-color: #FFE15A;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
  color: #000;
}

.save-changes-btn:hover {
  opacity: 0.9;
}

.or-divider {
  color: #666;
  font-size: 1rem;
}

.back-btn {
  width: 100%;
  padding: 14px;
  background-color: transparent;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.back-btn:hover {
  opacity: 0.9;
}

/* Error box styling */
.error-box {
  background-color: #fff;
  border: 2px solid #E6C400;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  max-width: 400px;
  margin: 40px auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.error-box h2 {
  color: #E6C400;
  margin-bottom: 16px;
  font-size: 24px;
}

.error-box p {
  color: #333;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.5;
}

.privacy-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  cursor: pointer;
}

.privacy-link{
  margin-top: 20px;
}
.not-active{
  opacity: 0.3;
  pointer-events: none;
}

.connection-settings-container {
  padding: 24px;
  min-height: 100vh;
  background-color: white;
  direction: rtl;
  font-family: 'Heebo', sans-serif;
}

.connection-header {
  text-align: right;
  margin-bottom: 40px;
}

.connection-header h1 {
  font-family: 'Heebo', sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-align: right;
}

.connection-header h2 {
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  text-align: right;
  color: #666;
}

.connection-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* max-width: 400px; */
  margin: 0 auto;
  position: relative;
  min-height: calc(92vh - 200px);
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 1px;
  background: none;
  border: none;
  text-align: right;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  text-decoration: underline;
}

.back-arrow {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  transform: rotate(0deg);
}

.divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.divider-text {
  background-color: white;
  padding: 0 16px;
  color: #666;
  position: relative;
  z-index: 1;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #E5E5E5;
  z-index: 0;
}

.round-btn {
  width: 100%;
  padding: 12px;
  background-color: #F5F5F5;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  margin-bottom: 60px;
}

.no-user-text {
  position: absolute;
  bottom: 24px;
  right: 0;
  text-align: right;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.signup-text {
  color: #000;
  font-size: 14px;
}

.signup-link {
  color: #0066CC;
  text-decoration: underline;
  font-size: 14px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.blue-link {
  color: #0066CC;
  text-decoration: none;
  font-size: 14px;
} .create-password-container {
  padding: 20px;
  min-height: 100vh;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  direction: rtl;
}

.logo {
  width: 120px;
  height: auto;
  margin-bottom: 40px;
}

.create-password-container h1 {
  font-family: 'Heebo', sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: 8px;
  text-align: right;
  width: 100%;
  max-width: 400px;
}

.create-password-container p {
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #666;
  margin-bottom: 32px;
  text-align: right;
  width: 100%;
  max-width: 400px;
}

.email-form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.input-group label {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  text-align: right;
  width: 100%;
}

.input-group input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  font-size: 16px;
  direction: ltr;
  height: 40px;
}

.input-group input::placeholder {
  color: #999;
}

.input-group input:focus {
  outline: none;
  border-color: #FFD700;
}

.submit-btn {
  background-color: #FFD700;
  color: black;
  border: none;
  border-radius: 100px;
  padding: 16px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  margin-top: 24px;
} .verify-code-container {
  display: flex;
  flex-direction: column;
  padding: 24px;
  max-width: 400px;
  margin: 0 auto;
  direction: rtl;
}

.verify-code-container h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
}

.verify-code-container p {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  text-align: center;
}

.code-inputs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  direction: ltr;
}

.code-inputs input {
  width: 48px;
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  direction: ltr;
}

.code-inputs input:focus {
  border-color: #FFD700;
  outline: none;
}

.verify-button {
  width: 100%;
  padding: 16px;
  background-color: #FFD700;
  border: none;
  border-radius: 25px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 24px;
}

.verify-button:disabled {
  background-color: #E0E0E0;
  cursor: not-allowed;
}

.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background-color: #E0E0E0;
}

.divider::before {
  right: 0;
}

.divider::after {
  left: 0;
}

.divider span {
  background-color: #fff;
  padding: 0 10px;
  z-index: 1;
  color: #666;
}

.alternative-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-button {
  width: 100%;
  padding: 16px;
  background-color: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 25px;
  color: #000;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  text-align: center;
}

.text-button:hover {
  background-color: #f9f9f9;
}

.error-message {
  color: #ff4444;
  margin-bottom: 16px;
  text-align: center;
  font-size: 14px;
} .new-password-container {
  display: flex;
  flex-direction: column;
  padding: 24px;
  max-width: 400px;
  margin: 0 auto;
  direction: rtl;
}

.new-password-container h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: right;
}

.new-password-container p {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  text-align: right;
}

.input-field {
  margin-bottom: 16px;
}

.input-field label {
  display: block;
  text-align: right;
  margin-bottom: 8px;
  font-size: 16px;
}

input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 16px;
  text-align: right;
}

.submit-button {
  width: 100%;
  padding: 16px;
  background-color: #FFD700;
  border: none;
  border-radius: 25px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: block !important;
  margin-top: 8px;
}

.submit-button:disabled {
  background-color: #E0E0E0;
  cursor: not-allowed;
}

.error-message {
  color: #ff4444;
  margin-bottom: 16px;
  text-align: right;
  font-size: 14px;
}

.password-requirements ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0;
}

.password-requirements li {
  margin: 5px 0;
  padding-left: 20px;
  position: relative;
}

.password-requirements li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ccc;
}

.password-requirements li.valid:before {
  content: "✓";
  color: #4CAF50;
}

.password-requirements li.invalid:before {
  content: "•";
  color: #ccc;
}

.password-requirements li.valid {
  color: #4CAF50;
}

.password-requirements li.invalid {
  color: #666;
} .success-container {
  min-height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.text-content {
  text-align: center;
  width: 100%;
  margin-bottom: 32px;
}

.success-container h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #000;
  direction: rtl;
}

.success-container p {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.4;
  direction: rtl;
}

.success-back-button {
  width: 320px;
  height: 48px;
  background-color: #FFD700;
  border: none;
  border-radius: 50px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  direction: rtl;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.success-back-button:active {
  opacity: 0.9;
}

/* Remove unused styles */
.input-field,
.submit-button,
.error-message {
  display: none;
} .update-email-container {
  display: flex;
  flex-direction: column;
  padding: 24px;
  max-width: 400px;
  margin: 0 auto;
  direction: rtl;
}

.update-email-container h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: right;
}

.update-email-container p {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  text-align: right;
}

.input-field {
  margin-bottom: 16px;
}

.input-field label {
  display: block;
  text-align: right;
  margin-bottom: 8px;
  font-size: 16px;
}

input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 16px;
  text-align: right;
}

input[type="password"]::placeholder {
  color: #999;
}

.submit-button {
  width: 100%;
  padding: 16px;
  background-color: #FFD700;
  border: none;
  border-radius: 25px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
}

.submit-button:disabled {
  background-color: #E0E0E0;
  cursor: not-allowed;
}

.error-message {
  color: #ff4444;
  margin-bottom: 16px;
  text-align: right;
  font-size: 14px;
} .change-email-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  direction: rtl;
}

.change-email-container h1 {
  margin-bottom: 16px;
  font-size: 24px;
  text-align: right;
}

.change-email-container p {
  margin-bottom: 24px;
  color: #666;
  text-align: right;
}

.input-field {
  display: block;
  margin-bottom: 20px;
}

.input-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  text-align: right;
}

.input-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  text-align: right;
}

.submit-button {
  width: 100%;
  padding: 16px;
  background-color: #FFD700;
  color: #000000;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
}

.submit-button:hover {
  background-color: #F4CC00;
}

.submit-button:disabled {
  background-color: #E0E0E0;
  cursor: not-allowed;
}

.error-message {
  color: #dc3545;
  margin-bottom: 16px;
  padding: 10px;
  background-color: #f8d7da;
  border-radius: 4px;
} .verify-update-email-container {
  display: flex;
  flex-direction: column;
  padding: 24px;
  max-width: 400px;
  margin: 0 auto;
  direction: rtl;
}

.verify-update-email-container h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: right;
}

.verify-update-email-container p {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  text-align: right;
}

.code-inputs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.code-input {
  width: 48px;
  height: 48px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 24px;
  text-align: center;
}

.verify-button {
  width: 100%;
  padding: 16px;
  background-color: #FFD700;
  border: none;
  border-radius: 25px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 16px;
}

.resend-options {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resend-button, .other-email-button {
  width: 100%;
  padding: 16px;
  border: 1px solid #E0E0E0;
  border-radius: 25px;
  background-color: white;
  color: #000;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  margin-bottom: 16px;
  text-align: center;
}

.error-message {
  color: #ff4444;
  margin-bottom: 16px;
  text-align: right;
  font-size: 14px;
}

.or-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.or-divider span {
  background-color: white;
  padding: 0 10px;
  position: relative;
  z-index: 1;
  color: #666;
}

.loading {
  text-align: center;
  font-size: 16px;
  margin-top: 24px;
} .email-update-success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  max-width: 400px;
  margin: 40px auto 0;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.email-update-success-container h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
}

.email-update-success-container p {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

.back-to-home-button {
  width: 100%;
  padding: 16px;
  background-color: #FFD700;
  border: none;
  border-radius: 25px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
} .add-timeline {
    padding: 5px 25px 25px 25px;
}#save-button {
  padding: 6px 15px;
  background-color: #F6D967; /* Active state */
  border-radius: 50px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  color: #000;
  -webkit-text-fill-color: #000; /* iOS Safari fix */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* Hover (only when enabled) */
#save-button:hover:enabled {
  background-color: #f4cc3e; /* Slightly deeper yellow for hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  /* transform: translateY(-1px); */
}

/* Active (pressed) */
#save-button:active:enabled {
  background-color: #e6bf37; /* Slightly darker tone */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  /* transform: translateY(1px); */
}

/* Disabled */
#save-button:disabled {
  background-color: #D1C38F; /* Professional muted gold */
  color: #666;
  -webkit-text-fill-color: #666;
  cursor: not-allowed;
  opacity: 0.8;
  box-shadow: none;
  transform: none;
}.global-loader-overlay {
  position: fixed;
  inset: 0; /* top, right, bottom, left = 0 */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(252 250 252); /* subtle white bg */
  z-index: 9999;
  transition: opacity 0.1s ease;
  backdrop-filter: blur(2px); /* optional soft blur */
  -webkit-backdrop-filter: blur(2px); /* ✅ iOS-specific support */
  pointer-events: all;
}

.logo-img {
  width: 150px;
  height: 150px;
  animation: heartbeat 1.5s infinite ease-in-out;
  background-color: transparent;
  image-rendering: -webkit-optimize-contrast;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}
  
  @keyframes heartbeat {
    0%, 100% {
      transform: scale(1);
    }
    25% {
      transform: scale(1.1);
    }
    50% {
      transform: scale(0.95);
    }
    75% {
      transform: scale(1.1);
    }
  }  