/**
 * Golden Chef Eğitim Kayıt - Stiller
 */

/* === BUTON === */
.gce-kayit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 32px;
	background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
	text-decoration: none;
	font-family: inherit;
	line-height: 1.2;
}

.gce-kayit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
	color: #fff;
}

.gce-kayit-btn:active {
	transform: translateY(0);
}

.gce-btn-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* === MODAL === */
.gce-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.gce-modal * {
	box-sizing: border-box;
}

.gce-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(4px);
	animation: gce-fade-in 0.2s ease;
}

.gce-modal-container {
	position: relative;
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: gce-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gce-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes gce-slide-up {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.gce-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.05);
	color: #333;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
	z-index: 2;
	padding: 0;
}

.gce-modal-close:hover {
	background: rgba(0, 0, 0, 0.1);
}

.gce-modal-close svg {
	width: 20px;
	height: 20px;
}

.gce-modal-header {
	padding: 28px 28px 16px;
	text-align: center;
	border-bottom: 1px solid #f0f0f0;
}

.gce-modal-header h3 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}

.gce-modal-subtitle {
	margin: 0;
	font-size: 14px;
	color: #6b6b6b;
}

.gce-modal-body {
	padding: 24px 28px;
	overflow-y: auto;
	flex: 1;
	min-height: 120px;
}

/* Loading */
.gce-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 0;
	gap: 12px;
	color: #6b6b6b;
	font-size: 14px;
}

.gce-spinner {
	width: 36px;
	height: 36px;
	border: 3px solid #f0f0f0;
	border-top-color: #e63946;
	border-radius: 50%;
	animation: gce-spin 0.8s linear infinite;
}

@keyframes gce-spin {
	to { transform: rotate(360deg); }
}

/* Tarih kartları */
.gce-dates-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gce-date-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: #fafafa;
	border: 2px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 16px;
	color: #1a1a1a;
	font-weight: 500;
	text-align: left;
	width: 100%;
	font-family: inherit;
}

.gce-date-item:hover:not(.gce-date-disabled) {
	background: #fff;
	border-color: #e63946;
	transform: translateX(2px);
}

.gce-date-item.gce-date-selected {
	background: #fff5f5;
	border-color: #e63946;
}

.gce-date-radio {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border: 2px solid #d0d0d0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease;
	background: #fff;
}

.gce-date-item.gce-date-selected .gce-date-radio {
	border-color: #e63946;
}

.gce-date-item.gce-date-selected .gce-date-radio::after {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e63946;
}

.gce-date-label {
	flex: 1;
}

.gce-date-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f5f5f5;
}

.gce-date-disabled .gce-date-soldout {
	font-size: 12px;
	color: #c1121f;
	font-weight: 600;
	margin-left: auto;
	background: #fff;
	padding: 4px 10px;
	border-radius: 6px;
}

/* Hata */
.gce-error {
	padding: 20px;
	background: #fff5f5;
	border: 1px solid #ffd5d5;
	border-radius: 8px;
	color: #c1121f;
	text-align: center;
	font-size: 14px;
}

/* Belgeler uyarı kutusu */
.gce-documents-notice {
	margin-top: 18px;
	padding: 14px 16px;
	background: #FFF8F8;
	border: 1px solid #F5D5DA;
	border-left: 3px solid #D9092A;
	border-radius: 8px;
}

.gce-documents-notice-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 13px;
	color: #1a1a1a;
}

.gce-documents-notice-header strong {
	font-weight: 700;
	font-size: 13px;
}

.gce-documents-notice-icon {
	display: inline-flex;
	flex-shrink: 0;
	line-height: 0;
}

.gce-documents-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gce-documents-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12.5px;
	color: #2a2a2a;
	line-height: 1.45;
}

.gce-documents-list strong {
	font-weight: 700;
	color: #1a1a1a;
}

.gce-doc-bullet {
	flex-shrink: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #D9092A;
	margin-top: 7px;
}

/* Footer */
.gce-modal-footer {
	padding: 20px 28px 28px;
	border-top: 1px solid #f0f0f0;
	background: #fafafa;
}

.gce-modal-confirm {
	width: 100%;
	padding: 16px;
	background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	font-family: inherit;
}

.gce-modal-confirm:not(:disabled):hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
}

.gce-modal-confirm:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.gce-modal-confirm.gce-loading-state {
	opacity: 0.7;
	cursor: wait;
}

/* Mobile */
@media (max-width: 600px) {
	.gce-modal {
		padding: 12px;
		align-items: flex-end;
	}

	.gce-modal-container {
		max-height: 85vh;
		border-radius: 16px 16px 0 0;
	}

	.gce-modal-header {
		padding: 24px 20px 14px;
	}

	.gce-modal-header h3 {
		font-size: 20px;
	}

	.gce-modal-body {
		padding: 20px;
	}

	.gce-modal-footer {
		padding: 16px 20px 20px;
	}

	.gce-date-item {
		padding: 14px 16px;
		font-size: 15px;
	}
}
