.record-container {
  width: 402px;
  height: 874px;
  margin: 20px auto;
  overflow: hidden;
  position: absolute;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 25px;
  z-index: 1000;
  visibility: hidden;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
}


.content-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(99, 73, 235, 1);
  padding-left: 19px;
  padding-right: 19px;
  flex-direction: column;
  align-items: stretch;
  white-space: nowrap;
}


.page-title {
  color: rgba(246, 245, 255, 1);
  font-size: 45px;
  letter-spacing: 3.6px;
  align-self: start;
  font-weight: 600;
}


.search-bar {
  border-radius: 36px;
  background-color: rgba(246, 245, 255, 1);
  display: flex;
  margin-top: 25px;
  padding: 5px 15px;
  align-items: stretch;
  gap: 10px;
  font-size: 32px;
  color: rgba(122, 117, 149, 1);
  text-align: center;
  letter-spacing: 2.56px;
}

.search-icon {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 48px;
  flex-shrink: 0;
}

.search-text {
  align-self: start;
  flex-grow: 1;
  flex-shrink: 1;
  width: 253px;
  flex-basis: auto;
  margin: 1px;
}


.record-card {
  border-radius: 16px;
  background-color: rgba(246, 245, 255, 1);
  display: flex;
  margin-top: 11px;
  align-items: stretch;
}

.record-card-icon {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  max-width: 100%;
}

.record-card-content {
  display: flex;
  margin-top: auto;
  margin-bottom: auto;
  flex-direction: column;
  align-items: stretch;
}

.record-card-title {
  color: rgba(0, 0, 0, 1);
  font-size: 28px;
  letter-spacing: 2.24px;
  text-align: center;
  align-self: start;
  font-weight: 600;
}

.record-card-description {
  color: rgba(122, 117, 149, 1);
  font-size: 18px;
  letter-spacing: 1.44px;
  margin-top: 11px;
}

.record-card-button {
  border: none;
  border-radius: 7px;
  background-color: rgba(207, 205, 255, 1);
  padding: 10px 42px;
  font-size: 22px;
  color: rgba(99, 73, 235, 1);
  text-align: center;
  letter-spacing: 1.76px;
  font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.record-card h2,
.reminder-card h2 {
  margin: 0;
}


.reminder-card {
  padding: 8px 24px 8px 0;
}

.reminder-card .record-card-icon {
  width: 155px;
}

.diary-card {
  padding: 10px 23px 10px 0;
  gap: 4px;
}

.diary-card .record-card-icon {
  width: 153px;
}

.diary-card .record-card-description {
  margin-top: 12px;
}

.family-card {
  padding: 20px 23px;
  gap: 17px;
}

.family-card .record-card-icon {
  width: 115px;
  margin-top: auto;
  margin-bottom: auto;
}

.family-card .record-card-content {
  align-items: start;
}

.family-card .record-card-description {
  margin-top: 13px;
}

.family-card .record-card-button {
  align-self: stretch;
  
}


button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}



.record-confirmation-screen {
  background-color: rgba(99, 73, 235, 1);
  display: flex;
  width: 402px;
  height: 874px;
  padding: 20px 19px 29px; 
  z-index: 1000;
  position: absolute;
  flex-direction: column;
  visibility: hidden;
  overflow: hidden;
  border-radius: 25px;
  box-sizing: border-box;
}


.record-confirmation-header {
  align-self: flex-start;
  margin-bottom: 16px; 
}

.back-button {
  display: flex;
  align-items: center;
  gap: 5px; 
  font-size: 22px;
  color: rgba(122, 117, 149, 1);
  font-weight: 600;
  letter-spacing: 1.76px;
  padding: 8px 15px; 
  background-color: rgba(255, 255, 255, 0.8); 
  border-radius: 12px; 
}

.back-icon {
  aspect-ratio: 0.61;
  object-fit: contain;
  width: 15px; 
}

.reenter-text {
  white-space: nowrap;
}


.info-section {
  border-radius: 16px;
  background-color: rgba(246, 245, 255, 1);
  display: flex;
  margin-top: 11px;
  width: 100%;
  padding: 10px 10px 10px 5px; 
  flex-direction: column;
  
  box-sizing: border-box;
}

.info-container {
  align-self: stretch; 
  display: flex;
  align-items: flex-start; 
  gap: 5px; 
  width: 100%;
}

.record-info-icon {
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.info-details {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-grow: 1;
  margin-top: 5px; 
}

.reminder-section-title {
  color: rgba(99, 73, 235, 1);
  font-size: 20px; 
  font-weight: 600;
  letter-spacing: 1.6px; 
  margin: 0 0 10px 0; 
  white-space: nowrap;
}

.value-input-container {
  display: flex;
  width: 100%;
  align-items: center; 
  gap: 10px; 
  justify-content: space-between; 
  margin-top: 5px; 
}

.value-wrapper {
  display: flex; 
  align-items: center;
  
  flex-grow: 1; 
  min-width: 0; 
}


.value-input {
  color: rgba(0, 0, 0, 1);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2.24px;
  white-space: nowrap; 
  border: none; 
  background-color: transparent; 
  padding: 0; 
  margin: 0; 
  outline: none; 
  width: 100%; 
  height: auto; 
  line-height: 1.2; 
  font-family: inherit; 
}


.value-input:focus {
   border-bottom: 1.5px solid rgba(99, 73, 235, 0.8);
   
   
}




.delete-button {
 
}

.delete-icon {
  aspect-ratio: 1; 
  object-fit: contain;
  width: 24px; 
  flex-shrink: 0;
}






.edit-hint {
  color: rgba(99, 73, 235, 1);
  font-size: 16px; 
  font-weight: 600;
  letter-spacing: 1.28px; 
  white-space: nowrap;
}


.time-section {
  border-radius: 16px;
  background-color: rgba(246, 245, 255, 1);
  display: flex;
  margin-top: 90px; 
  width: 100%;
  padding: 6px 18px 14px 5px;
  flex-direction: column;
  box-sizing: border-box;
}

.time-container {
  display: flex;
  align-items: flex-start; 
  gap: 15px; 
  justify-content: space-between;
}

.time-column {
  display: flex;
  flex-direction: column;
  align-items: center; 
  margin-top: 5px; 
}

.time-header {
  display: flex;
  align-items: center; 
  gap: 4px;
}

.info-icon.time-icon {
  aspect-ratio: 1;
  object-fit: contain;
  width: 60px; 
  height: 60px;
}

.section-title.time-title {
  align-self: center;
  margin-bottom: 0; 
}

.time-period {
  font-weight: 600;
  white-space: nowrap;
}

.time-period.active {
  color: rgba(0, 0, 0, 1);
  font-size: 28px;
  letter-spacing: 2.24px;
  margin-top: 10px; 
}

.time-period.inactive {
  color: rgba(122, 117, 149, 1);
  font-size: 18px;
  letter-spacing: 1.44px;
  margin-top: 8px;
}

.time-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px; 
    flex-grow: 1; 
}

.edit-hint.top-edit-hint { 
    align-self: flex-end; 
    margin-right: 10px; 
    font-size: 16px;
    letter-spacing: 1.28px;
}

.time-values {
    display: flex;
    align-items: center;
    justify-content: center; 
    margin-top: 15px; 
    gap: 10px; 
}

.hour-column, .minute-column {
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
}

.time-number {
  color: rgba(122, 117, 149, 1);
  font-size: 18px;
  letter-spacing: 1.44px;
  font-weight: 600;
  padding: 2px 0; 
}

.time-number.active {
  color: rgba(0, 0, 0, 1);
  font-size: 28px;
  letter-spacing: 2.24px;
}

.time-separator {
    display: flex;
    align-items: center; 
    padding-bottom: 5px; 
}

.time-number.colon {
  color: rgba(0, 0, 0, 1);
  font-size: 28px;
  letter-spacing: 2.24px;
  font-weight: 600;
}

.weekday-container {
  display: flex;
  margin-top: 18px;
  align-items: center; 
  justify-content: space-between; 
  padding-left: 5px; 
  gap: 10px;
}

.weekday-selector {
  display: flex;
  align-items: center; 
  gap: 5px;
}

.weekday-item {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  box-sizing: border-box;
  padding: 5px; 
}

.weekday-item.light {
  background-color: rgba(207, 205, 255, 1);
  width: 45px; 
  height: 45px; 
}

.weekday-item.active {
  background-color: rgba(99, 73, 235, 1);
  width: 65px; 
  height: 65px; 
}

.weekday-text {
  font-weight: 600;
  white-space: nowrap;
}

.weekday-text.small-weekday {
  font-size: 10px;
  color: rgba(0, 0, 0, 1);
  letter-spacing: 0.8px;
  margin-bottom: 3px; 
}

.weekday-text.large-weekday {
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 1.44px;
  margin-bottom: 5px; 
}

.weekday-check {
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
}

.weekday-check.small {
  width: 19px;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); 
}

.weekday-check.large {
  width: 28px;
  background-color: rgba(207, 205, 255, 1); 
  
}

.weekly-reminder {
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.reminder-text {
  color: rgba(99, 73, 235, 1);
  font-size: 16px; 
  letter-spacing: 1.28px; 
  font-weight: 600;
  white-space: nowrap;
}

.toggle-button {
    margin-top: 10px; 
}

.toggle-switch {
  aspect-ratio: 2.18;
  object-fit: contain;
  width: 48px;
  border-radius: 18px; 
  
}


.location-section {
  
  padding-bottom: 10px; 
}

.info-icon.location-icon {
  width: 66px; 
}


.person-section {
  
  padding-bottom: 0; 
}



.info-icon.person-icon {
  width: 65px; 
}



.person-sub-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    padding: 5px 10px 10px 15px; 
    box-sizing: border-box;
    margin-top: 5px; 
}

.add-person-container {
    display: flex;
    align-items: center;
    gap: 8px; 
    margin-left: 60px; 
}

.add-button {
    
}

.add-icon {
  aspect-ratio: 1; 
  object-fit: contain;
  width: 37px; 
  border-radius: 50%; 
}

.country-code {
  color: rgba(99, 73, 235, 1);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.44px;
  white-space: nowrap;
}

.dropdown-icon {
  aspect-ratio: 2;
  object-fit: contain;
  width: 14px;
  align-self: center; 
}





.event-section {
  
   padding-bottom: 10px; 
}

.info-icon.event-icon {
  width: 68px; 
  align-self: flex-start; 
}


.confirm-button {
  color: rgba(0, 0, 0, 1);
  font-size: 28px;
  letter-spacing: 2.24px;
  font-weight: 600;
  text-align: center;
  align-self: center;
  margin-top: 23px;
  background-color: rgba(255, 255, 255, 1); 
  border-radius: 25px; 
  padding: 10px 40px; 
  white-space: nowrap;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); 
}

