/**
 * Check In Module Frontend Styles
 */
html {
  font-size: 14px !important;
}

.hj-check-in-form {
	max-width: 100%;
	margin: 0;
	padding: 0;


}

.hj-form-container {
	padding: 0;
}

/* Top Section Styles */
.hj-top-section {
	display: flex;
	gap: 3rem;
	padding: 3rem;
	align-items: flex-start;
}

.hj-left-content {
	flex: 1;
}

.hj-main-title {
	font-size: 4rem;
	font-weight: 500;
	color: #2d3748;
	margin: 0 0 0.5rem 0;
	line-height: 1.1;
}

.hj-main-subtitle {
	font-size: 1.5rem;
	font-weight: 300;
	color: #4a5568;
	margin: 0;
	line-height: 1.4;
}

.hj-goal-display-card {
	flex: 1;
	background-color: #c8e6f5;
	border-radius: 12px;
	padding: 2rem;
	position: relative;
}

.hj-goal-card-title {
	font-size: 1.75rem;
	font-weight: 600;
	color: #2d3748;
	margin: 0 0 1.5rem 0;
	line-height: 1.3;
}

.hj-goal-content {
	margin-bottom: 2rem;
}

.hj-goal-text {
	font-size: 1.125rem;
	color: #2d3748;
	margin: 0;
	font-style: italic;
}

.hj-goal-underline {
	width: 100%;
	height: 2px;
	background-color: #2d3748;
	margin: 1.5rem 0 2rem 0;
}

.hj-goal-question {
	margin-bottom: 2rem;
}

.hj-question-text {
	font-size: 1.5rem;
	font-weight: 600;
	color: #2d3748;
	margin: 0 0 0.5rem 0;
	line-height: 1.3;
}

.hj-question-subtitle {
	font-size: 1rem;
	color: #4a5568;
	margin: 0;
	line-height: 1.4;
}

.hj-goal-actions {
	display: flex;
	gap: 1rem;
}

.hj-btn-edit-goal {
	background-color: #2d3748;
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.hj-btn-edit-goal:hover {
	background-color: #1a202c;
}

.hj-btn-complete-goal {
	background-color: transparent;
	color: #2d3748;
	border: 2px solid #2d3748;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.hj-btn-complete-goal:hover {
	background-color: #2d3748;
	color: white;
}

/* Bottom Section Styles */
.hj-bottom-section {
	display: flex;
	gap: 3rem;
	padding: 3rem;
	align-items: flex-start;
}

.hj-left-ratings {
	flex: 1;
}

.hj-ratings-title {
	font-size: 2.5rem;
	font-weight: 400;
	color: #2d3748;
	margin: 0 0 1rem 0;
	line-height: 1.2;
}

.hj-ratings-subtitle {
	font-size: 1rem;
	color: #4a5568;
	margin: 0 0 2.5rem 0;
	line-height: 1.5;
	max-width: 500px;
}

.hj-priority-ratings {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.hj-priority-rating-item {
	width: 100%;
}

.hj-priority-name {
	font-size: 1.5rem;
	font-weight: 600;
	color: #2d3748;
	margin: 0 0 1rem 0;
}

/* Slider Styles */
.hj-slider-container {
	width: 100%;
	max-width: 500px;
}

.hj-slider-track {
	position: relative;
	width: 100%;
	height: 8px;
	background-color: #e2e8f0;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.hj-slider-fill {
	height: 100%;
	background: linear-gradient(to right, #90cdf4 0%, #4299e1 100%);
	border-radius: 4px;
	width: 50%; /* Default to middle position (value 3) */
	transition: width 0.2s ease;
}

.hj-slider-thumb {
	position: absolute;
	top: 50%;
	left: 50%; /* Default to middle position (value 3) */
	width: 20px;
	height: 20px;
	background-color: white;
	border: 2px solid #4299e1;
	border-radius: 50%;
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: left 0.2s ease;
	z-index: 2;
}

.hj-slider-thumb:hover {
	box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

.hj-slider-thumb:active {
	transform: translate(-50%, -50%) scale(1.1);
}

.hj-slider-labels {
	display: flex;
	justify-content: space-between;
	font-size: 1rem;
	color: #4a5568;
	font-weight: 500;
}

/* Right side notes */
.hj-right-notes {
	flex: 1;
	padding-left: 2rem;
}

.hj-notes-section {
	width: 100%;
}

.hj-notes-label {
	font-size: 1rem;
	color: #4a5568;
	margin: 0 0 1rem 0;
	line-height: 1.5;
}

.hj-notes-textarea {
	width: 100%;
	padding: 1rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 1rem;
	line-height: 1.6;
	resize: vertical;
	min-height: 200px;
	font-family: inherit;
	background-color: #ffffff;
	transition: all 0.2s ease-in-out;
	box-sizing: border-box;
}

.hj-notes-textarea:focus {
	outline: none;
	border-color: #4299e1;
	box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.hj-notes-textarea::placeholder {
	color: #a0aec0;
	font-style: normal;
}

/* Form Actions Bottom */
.hj-form-actions-bottom {
	padding: 2rem 3rem;
	border-top: 1px solid #e2e8f0;
}

.hj-form-buttons {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 1rem;
}

.hj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	min-height: 44px;
	box-sizing: border-box;
	background: #000;
	color:#fff;
}

.hj-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.hj-btn-cancel {
	background-color: #ffffff;
	color: #4a5568;
	border: 2px solid #e2e8f0;
}

.hj-btn-cancel:hover:not(:disabled) {
	background-color: #f7fafc;
	border-color: #cbd5e0;
}

.hj-btn-save {
	background-color: #2d3748;
	color: #ffffff;
	border: 2px solid #2d3748;
	min-width: 100px;
}

.hj-btn-save:hover:not(:disabled) {
	background-color: #1a202c;
	border-color: #1a202c;
}

.hj-btn-spinner {
	display: inline-flex;
	align-items: center;
}

.hj-spinner {
	width: 1rem;
	height: 1rem;
	animation: hj-spin 1s linear infinite;
}

@keyframes hj-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.hj-form-message {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 500;
}

.hj-form-message.hj-success {
	background-color: #f0fff4;
	border: 1px solid #9ae6b4;
	color: #276749;
}

.hj-form-message.hj-error {
	background-color: #fed7d7;
	border: 1px solid #feb2b2;
	color: #c53030;
}

/* Hidden goal select */
#hj-goal-select {
	display: none !important;
}

/* Form validation and messages */
.hj-form-message {
	margin-bottom: 1rem;
	padding: 1rem;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 500;
}

.hj-form-message.hj-success {
	background-color: #f0fff4;
	border: 1px solid #9ae6b4;
	color: #276749;
}

.hj-form-message.hj-error {
	background-color: #fed7d7;
	border: 1px solid #feb2b2;
	color: #c53030;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.hj-top-section,
	.hj-bottom-section {
		flex-direction: column;
		gap: 2rem;
	}
	
	.hj-right-notes {
		padding-left: 0;
	}
}

@media (max-width: 768px) {
	.hj-top-section,
	.hj-bottom-section,
	.hj-form-actions-bottom {
		padding: 2rem 1.5rem;
	}
	
	.hj-main-title {
		font-size: 3rem;
	}
	
	.hj-ratings-title {
		font-size: 2rem;
	}
	
	.hj-goal-actions,
	.hj-form-buttons {
		flex-direction: column;
		align-items: stretch;
	}
	
	.hj-btn {
		width: 100%;
	}
	
	.hj-priority-ratings {
		gap: 2rem;
	}
}

@media (max-width: 480px) {
	.hj-top-section,
	.hj-bottom-section,
	.hj-form-actions-bottom {
		padding: 1.5rem 1rem;
	}
	
	.hj-main-title {
		font-size: 2.5rem;
	}
	
	.hj-ratings-title {
		font-size: 1.75rem;
	}
	
	.hj-goal-card-title {
		font-size: 1.5rem;
	}
	
	.hj-priority-name {
		font-size: 1.25rem;
	}
}
/* Toast Animations */
@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(100%);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideOutRight {
	from {
		opacity: 1;
		transform: translateX(0);
	}
	to {
		opacity: 0;
		transform: translateX(100%);
	}
}
