.settings {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;

	& > .header {
		display: grid;
		grid-template-columns: 25px 1fr;
		align-items: center;
		gap: 15px;
		padding: 15px;
		background-color: #d94253;
		color: #ffffff;
		box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);

		& > .backButton {
			display: flex;
			justify-content: center;
			align-items: center;
		}

		& > .title {
			font-size: 1.2rem;
		}
	}

	& > .settingsContainer {
		flex-grow: 1;
		position: relative;
		display: flex;
		flex-direction: column;
		gap: 20px;
		padding: 0 20px;

		& .message {
			padding: 5px;
			border-radius: 5px;
			background-color: #d94253;
			font-size: 1rem;
			text-align: center;
			color: #ffffff;
		}

		& > .separator {
			display: block;
			margin: 20px auto;
			width: 90%;
			height: 1px;
			background-color: #d94253;
			background: linear-gradient(
				90deg,
				rgba(#d94253, 0) 0%,
				rgba(#d94253, 1) 10%,
				rgba(#d94253, 1) 90%,
				rgba(#d94253, 0) 100%
			);
		}

		& > .passwordForm {
			display: flex;
			flex-direction: column;
			gap: 10px;

			& > .submitButton {
				padding: 7px 21px;
				border: none;
				border-radius: 5px;
				background-color: #d94253;
				font-size: 1rem;
				color: #ffffff;
				cursor: pointer;
			}
		}

		& > .deleteButton {
			display: grid;
			grid-template-columns: 20px max-content;
			justify-content: center;
			align-items: center;
			gap: 10px;
			padding: 7px 21px;
			border: 1px solid #d94253;
			border-radius: 5px;
			background-color: #d94253;
			font-size: 1rem;
			color: #ffffff;
			cursor: pointer;
		}

		& > .popupOverlay {
			position: absolute;
			top: 0;
			left: 0;
			display: flex;
			justify-content: center;
			align-items: center;
			width: 100%;
			height: 100%;
			background-color: rgba(#ffffff, 0.5);
			backdrop-filter: blur(5px);

			& > .popup {
				z-index: 1;
				position: relative;
				display: flex;
				flex-direction: column;
				margin: 10px;
				background-color: #ffffff;
				border: 1px solid #d94253;
				border-radius: 5px;

				& > .popupHeader {
					display: grid;
					grid-template-columns: 1fr 20px;
					align-items: center;
					gap: 20px;
					padding: 10px;

					& > .popupTitle {
						font-size: 1.2rem;
						color: #d94253;
					}

					& > .popupCloseButton {
						display: flex;
						justify-content: center;
						align-items: center;
						border: none;
						border-radius: 5px;
						background-color: transparent;
						color: #d94253;
						cursor: pointer;
						transition: background-color 0.3s ease;

						&:hover {
							background-color: rgba(#d94253, 0.2);
						}
					}
				}

				& > .popupContent {
					padding: 10px;
					color: #d94253;
				}

				& > .popupButtonsContainer {
					display: flex;
					flex-wrap: nowrap;
					justify-content: space-evenly;
					align-items: center;
					padding: 10px;

					& > .popupButton {
						display: grid;
						grid-template-columns: 20px 1fr;
						align-items: center;
						gap: 5px;
						padding: 5px 15px;
						border: none;
						border-radius: 5px;
						background-color: #d94253;
						font-size: 1rem;
						color: #ffffff;
						cursor: pointer;
					}
				}
			}
		}
	}
}
