.record-button {
    width: 100%;
    height: calc(100% - 120px);
    background-color: transparent;
    color: #2c3e50;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}
.record-button:hover {
    background-color: transparent;
}
.record-button i {
    font-size: 48px;
    color: #000;
    margin-bottom: 10px;
}
.record-button .hint {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Common components */
.button {
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
}

.button:hover {
    background: #e9ecef;
}

.input-field {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    width: 100%;
    margin-top: 8px;
}

.main-content {
    position: relative;
}

.loading {
	position:absolute;
	left:50%;
	top:30vh;
    transform: translateX(-48%);
	display:block;
	width:40vh;
	height:40vh;
	text-align:center;
	filter:contrast(1.2);
    z-index: -1;
	
	span {
  	mix-blend-mode:screen;
		display:block;
		position:absolute;
		border-radius:50%;
		animation:wave 8s infinite linear;
	}
	
	span:nth-child(0) {
		left:-11%;
		right:-2%;
		top:-12%;
		bottom:-5%;
		transform-origin:46% 53%;
		animation-delay:0;
		background-color:hsl(156, 100%, 50%);
	}
	
	span:nth-child(1) {
		left:-4%;
		right:-4%;
		top:-9%;
		bottom:-2%;
		transform-origin:49% 52%;
		animation-delay:-2.9s;
		background-color:hsl(191, 100%, 53%);
	}
	
	span:nth-child(2) {
		left:-11%;
		right:-4%;
		top:-10%;
		bottom:-11%;
		transform-origin:49% 53%;
		animation-delay:-3.5s;
		background-color:hsl(219, 94%, 69%);
	}
	
	span:nth-child(3) {
		left:-7%;
		right:-9%;
		top:-11%;
		bottom:-4%;
		transform-origin:47% 54%;
		animation-delay:-4s;
		background-color:hsl(217, 100%, 85%);
	}
	
	span:nth-child(4) {
		left:-8%;
		right:-3%;
		top:-5%;
		bottom:-11%;
		transform-origin:47% 52%;
		animation-delay:-3.7s;
		background-color:hsl(200, 100%, 78%);
	}
	
	span:nth-child(5) {
		left:-10%;
		right:-8%;
		top:-4%;
		bottom:-9%;
		transform-origin:48% 52%;
		animation-delay:-5s;
		background-color:hsl(169, 100%, 67%);
	}
	
	span:nth-child(6) {
		left:-9%;
		right:-11%;
		top:-5%;
		bottom:-8%;
		transform-origin:47% 51%;
		animation-delay:-4.5s;
		background-color:hsl(215, 93%, 62%);
	}
}

@keyframes wave {
	from {
		transform:rotateZ(0deg);
	}
	to {
		transform:rotateZ(360deg);
	}
}




.record-mode-selector {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.record-mode-toggle {
	display: flex;
	background-color: #f0f0f0;
	border-radius: 30px;
	padding: 4px;
	position: relative;
	cursor: pointer;
	width: 400px;
	margin: 0 auto;
}

.record-mode-option {
	padding: 8px 15px;
	flex: 1;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	z-index: 2;
	border-radius: 25px;
	font-weight: 500;
	color: #666;
}

.record-mode-slider {
	position: absolute;
	height: 36px;
	width: 50%;
	background-color: white;
	border-radius: 25px;
	transition: transform 0.3s ease;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	left: 2px;
	top: 2px;
}

.record-mode-option.active {
	color: #000;
	font-weight: 600;
}

.record-mode-toggle[data-mode="system"] .record-mode-slider {
	transform: translateX(98%);
}

.instruction-link {
	text-align: center;
	margin-top: 20px;
	font-size: 14px;
}

.instruction-link a {
	color: #555;
	text-decoration: none;
	display: inline-block;
	padding: 5px 10px;
	border-radius: 5px;
	transition: background-color 0.3s ease;
	transition: color 0.3s ease;
}

.instruction-link a:hover {
	color: #000;
	text-decoration: none;
}