/**
 * Public styles for Routes API Connector blocks.
 */

.rapi-lessons {
	margin: 20px 0;
}

.rapi-lessons-table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}

.rapi-lessons-table thead {
	background-color: #f5f5f5;
}

.rapi-lessons-table th,
.rapi-lessons-table td {
	padding: 12px;
	text-align: left;
	border: none;
	vertical-align: top;
}

.rapi-day-header {
	font-weight: bold;
	font-size: 1.1em;
	padding: 15px 12px !important;
}

.rapi-session-name {
	font-weight: 500;
	width: 50%;
}

.rapi-session-time {
	width: 10%;
	color: #666;
}

.rapi-session-info {
	width: 15%;
	color: #666;
	font-size: 0.9em;
	text-align: center;
}

.rapi-session-action {
	width: 25%;
	text-align: right;
}

.rapi-register-btn {
	display: inline-block;
	padding: 8px 16px;
	background-color: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s;
}

.rapi-register-btn:hover {
	background-color: #005a87;
	color: #fff;
}

.rapi-notifications {
	margin: 20px 0;
}

.rapi-notifications .notification {
	padding: 15px;
	margin-bottom: 15px;
	border-left: 4px solid #0073aa;
	background-color: #f9f9f9;
	position: relative;
	transition: opacity 0.3s ease, height 0.3s ease;
}

/* Notification type colors */
.rapi-notifications .notification-info {
	border-left-color: #0073aa;
	background-color: #e7f3ff;
}

.rapi-notifications .notification-success {
	border-left-color: #46b450;
	background-color: #ecf7ed;
}

.rapi-notifications .notification-warning {
	border-left-color: #ffb900;
	background-color: #fff8e5;
}

.rapi-notifications .notification-error,
.rapi-notifications .notification-danger {
	border-left-color: #dc3232;
	background-color: #fce8e8;
}

.rapi-notifications .notification-default {
	border-left-color: #666;
	background-color: #f9f9f9;
}

.rapi-notifications .notification-title {
	font-weight: bold;
	margin-bottom: 5px;
}

.rapi-notifications .notification-content {
	margin-top: 5px;
}

.rapi-notifications .notification-content p {
	margin: 0 0 10px 0;
}

.rapi-notifications .notification-content p:last-child {
	margin-bottom: 0;
}

.rapi-notifications .notification-action {
	margin-top: 10px;
}

.rapi-notifications .notification-action .rapi-register-btn {
	display: inline-block;
	padding: 8px 16px;
	background-color: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s;
}

.rapi-notifications .notification-action .rapi-register-btn:hover {
	background-color: #005a87;
	color: #fff;
}

.rapi-notifications .notification-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: transparent;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	padding: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
	z-index: 10;
}

.rapi-notifications .notification-close:hover {
	color: #000;
}

.rapi-notifications .notification-close:focus {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
	border-radius: 2px;
}

.rapi-notifications .notification-close span {
	display: block;
	line-height: 1;
}

