.calendar-app {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.calendar-app .container {
	max-width: 1200px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	backdrop-filter: blur(10px);
}
.calendar-app .header {
	background: #0095ec;
	color: white;
	padding: 30px;
	text-align: center;
}

.calendar-app .header-title {
	font-size: 2.5em;
	margin-bottom: 10px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.calendar-app .main-content {
	display: flex;
	min-height: 600px;
}

.calendar-app .calendar-section {
	flex: 2;
	padding: 30px;
	border-right: 2px solid #e0e6ed;
}

.calendar-app .events-section {
	flex: 1;
	padding: 30px;
	background: #f8fafc;
}

.calendar-app .calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.calendar-app .nav-btn {
	background: #0095ec;

	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s ease;
}

.calendar-app .nav-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.calendar-app .current-month {
	font-size: 1.8em;
	font-weight: bold;
	color: #2d3748;
}

.calendar-app .calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	background: #e0e6ed;
	border-radius: 10px;
	overflow: hidden;
}

.calendar-app .day-header {
	background: #0095ec;

	color: white;
	padding: 15px 5px;
	text-align: center;
	font-weight: bold;
	font-size: 0.9em;
}

.calendar-app .day-cell {
	background: white;
	padding: 15px 5px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	min-height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.calendar-app .day-cell:hover {
	background: #edf2f7;
	transform: scale(1.02);
}

.calendar-app .day-cell.other-month {
	color: #a0aec0;
	background: #f7fafc;
}

.calendar-app .day-cell.selected {
	background: #0095ec;

	color: white;
	font-weight: bold;
	box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.calendar-app .day-cell.has-events {
	background: linear-gradient(45deg, #ffbc05, #e66e1e);
	font-weight: bold;
}

.calendar-app .day-cell.has-events.selected {
	background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.calendar-app .event-indicator {
	position: absolute;
	bottom: 5px;
	right: 5px;
	background: #e53e3e;
	color: white;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	font-size: 0.7em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calendar-app .events-title {
	font-size: 1.5em;
	margin-bottom: 20px;
	color: #2d3748;
	text-align: center;
}

.calendar-app .selected-date {
	background: linear-gradient(45deg, #4facfe, #00f2fe);
	color: white;
	padding: 15px;
	border-radius: 10px;
	text-align: center;
	margin-bottom: 20px;
	font-weight: bold;
}

.calendar-app .add-event-btn {
	background: linear-gradient(45deg, #48bb78, #38a169);
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	cursor: pointer;
	width: 100%;
	margin-bottom: 20px;
	font-size: 16px;
	transition: all 0.3s ease;
}

.calendar-app .add-event-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.calendar-app .events-list {
	max-height: 400px;
	overflow-y: auto;
}

.calendar-app .event-item {
	background: white;
	border-radius: 10px;
	padding: 15px;
	margin-bottom: 15px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.calendar-app .event-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.calendar-app .event-title {
	font-weight: bold;
	color: #2d3748;
	margin-bottom: 5px;
	font-size: 1.1em;
}

.calendar-app .event-description {
	color: #4a5568;
	margin-bottom: 10px;
	line-height: 1.4;
}

.calendar-app .event-actions {
	display: flex;
	gap: 10px;
}

.calendar-app .edit-btn,
.calendar-app .delete-btn {
	padding: 8px 15px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 0.9em;
	transition: all 0.3s ease;
}

.calendar-app .edit-btn {
	background: linear-gradient(45deg, #4299e1, #3182ce);
	color: white;
}

.calendar-app .delete-btn {
	background: linear-gradient(45deg, #e53e3e, #c53030);
	color: white;
}

.calendar-app .edit-btn:hover,
.calendar-app .delete-btn:hover {
	transform: translateY(-2px);
}

/* Modal Styles */
.calendar-app .modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(5px);
}

.calendar-app .modal-content {
	background-color: white;
	margin: 10% auto;
	padding: 30px;
	border-radius: 15px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.calendar-app .modal-header {
	text-align: center;
	margin-bottom: 20px;
}

.calendar-app .modal-title {
	font-size: 1.5em;
	color: #2d3748;
	margin-bottom: 10px;
}

.calendar-app .close {
	color: #a0aec0;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
}

.calendar-app .close:hover {
	color: #2d3748;
}

.calendar-app .form-group {
	margin-bottom: 20px;
}

.calendar-app .form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
	color: #2d3748;
}

.calendar-app .form-input,
.calendar-app .form-textarea {
	width: 100%;
	padding: 12px;
	border: 2px solid #e0e6ed;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.calendar-app .form-input:focus,
.calendar-app .form-textarea:focus {
	outline: none;
	border-color: #4facfe;
	box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.calendar-app .form-textarea {
	height: 100px;
	resize: vertical;
}

.calendar-app .modal-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
}

.calendar-app .save-btn,
.calendar-app .cancel-btn {
	padding: 12px 30px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s ease;
}

.calendar-app .save-btn {
	background: linear-gradient(45deg, #48bb78, #38a169);
	color: white;
}

.calendar-app .cancel-btn {
	background: linear-gradient(45deg, #a0aec0, #718096);
	color: white;
}

.calendar-app .save-btn:hover,
.calendar-app .cancel-btn:hover {
	transform: translateY(-2px);
}

.calendar-app .no-events {
	text-align: center;
	color: #a0aec0;
	font-style: italic;
	margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.calendar-app .main-content {
		flex-direction: column;
	}

	.calendar-app .calendar-section {
		border-right: none;
		border-bottom: 2px solid #e0e6ed;
	}

	.calendar-app .calendar-grid {
		font-size: 0.9em;
	}

	.calendar-app .day-cell {
		min-height: 50px;
	}

	.calendar-app .modal-content {
		margin: 5% auto;
		width: 95%;
	}
}

/* Calendar App Styles */
.calendar-date {
	/* min-width: 120px; */
	border-radius: 6px;
	text-align: center;
	color: #5da3ff;
	font-weight: bold;

	border: 2px solid #009ad9;
}

.calendar-date .month {
	font-size: 0.9rem;
	color: rgb(32, 136, 255);
}

.calendar-date .day {
	font-size: clamp(0.5rem, 5vw, 1.5rem);
	line-height: 1;
	background-image: linear-gradient(rgb(49, 115, 255), rgb(36, 36, 190));
    color: transparent;
    background-clip: text;
}

.calendar-date .weekday {
	font-size: clamp(0.5rem, 3vw, 0.9rem);
	color: #3a77e0;
}

.calendar-details {
	/* font-size: 1.2rem; */
	font-weight: bolder;
	color: transparent;
	text-align: left;
}

.hr-calendar {
	border-top: 1px solid transparent;
	border-radius: 1px;
    border-image: linear-gradient(to right, #fff, #e3e4e7, #87a7ff, #0648aa, #1003c2) 1;
    
	
}
.hr-gradient {
    border-top: 1px solid transparent;
    border-image: linear-gradient(to right, #fff, #ccc6c6, #c0b9b9, #cac4c4, #fff) 1;
}

/* calendar home page  */
.basic-calendar {
	padding: 12px;
}

.basic-calendar .basic-calendar-header {
	text-align: center;
	margin-bottom: 6px;
	font-weight: bold;
}

.basic-calendar .basic-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 50px);
	grid-auto-rows: 40px;
}

.basic-calendar .basic-calendar-day,
.basic-calendar .basic-calendar-weekday,
.basic-calendar .basic-calendar-empty {
	box-sizing: border-box;
	box-shadow: inset 0 0 0 0.5px rgb(0, 0, 0);

	display: flex;
	align-items: flex-start; /* align top */
	justify-content: flex-end; /* align left */
	padding: 3px; /* padding for spacing */
	font-size: 16px;
	user-select: none;
}

.basic-calendar .basic-calendar-weekday {
	font-weight: 600;
	justify-content: center;
	align-items: center;
}

.basic-calendar-today {
	background-color: #739fff;
	color: white;

	font-weight: bold;
	border-radius: 1px;
}

/* dimmed style for prev/next month dates */
.basic-calendar-outside {
	color: #999;
}
.basic-calendar-day:hover {
	color: #0062ff;
	cursor: pointer;
}

.calendar-container-image {
	/* background-image: radial-gradient(circle, #ffffff 30%, #dcedffc2 90%); */



}

.sunken-shadow {
	background-color: #ffffff;
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.2), inset 0 2px 10px rgba(0, 0, 0, 0.1);
}


