/* ========================================
   MODERN STUDENT PORTAL DASHBOARD STYLES
   ======================================== */

/* Hide WordPress admin bar and ensure full-width layout for students */
.wlsm-container-student #wpadminbar {
	display: none !important;
}

.wlsm-container-student body {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Ensure student portal container takes full space */
.wlsm-container-student {
	max-width: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Logout link */
.wlsm-logged-in-info {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: 20px;
	text-align: right;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.wlsm-logged-in-text {
	color: #ffffff;
	font-weight: 600;
	font-size: 15px;
}

.wlsm-logout-link {
	color: #ffffff;
	text-decoration: none;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	margin-left: 12px;
	font-weight: 600;
	transition: all 0.3s ease;
	display: inline-block;
}

.wlsm-logout-link:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-1px);
	color: #ffffff;
	text-decoration: none;
}

/* No record found message */
.wlsm-no-record-found {
	text-align: center;
	padding: 40px 20px;
	color: #718096;
	font-size: 15px;
	margin-top: 2em;
	margin-bottom: 2em;
}

.wlsm-no-record-found::before {
	content: "📋";
	display: block;
	font-size: 48px;
	margin-bottom: 12px;
	opacity: 0.5;
}

/* Main title styling */
.wlsm-st-main-title {
	font-size: 24px;
	font-weight: 700;
	color: #2d3748;
	padding-bottom: 16px;
	margin-bottom: 24px;
	border-bottom: 3px solid #667eea;
	position: relative;
}

.wlsm-st-main-title::after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}
	background-color: #f7fafc;
}
.wlsm-st-main-title {
	font-size: 24px;
	font-weight: 700;
	color: #2d3748;
	padding-bottom: 16px;
	margin-bottom: 24px;
	border-bottom: 3px solid #667eea;
}
.wlsm-container .wlsm-st-details-heading {
	font-size: 1.22em;
	font-weight: 600;
	padding-bottom: .2em;
	border-bottom: 1px solid #ddd;
	margin-bottom: .7em;
	text-align: left;
}
.wlsm-container .wlsm-st-details-list {
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 1.05em;
	text-align: left;
}
.wlsm-container .wlsm-st-details-list li {
	padding: .35em 0;
	border-bottom: 1px solid #ddd;
}
.wlsm-st-details-list-key {
	font-weight: 600;
}
.wlst-st-list {
	padding: 0;
	margin: 0;
	list-style: disc inside;
	font-size: 1.05em;
}
.wlst-st-list li {
	padding: .35em 0;
	border-bottom: 1px solid #ddd;
}
.wlst-st-list li > span {
	margin-left: -5px;
}
.wlsm-st-attendance-section ul.wlsm-st-attendance-stats {
	list-style-type: none;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
}
.wlsm-st-attendance-section ul.wlsm-st-attendance-stats li {
	font-size: 18px;
}
.wlsm-flex-between {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.wlsm-flex-item {
	margin-bottom: 1em;
}
.wlsm-st-attendance-table {
	width: 100%;
}
.wlsm-container .dashicons, .wlsm-container .dashicons-before:before {
	vertical-align: middle;
}
.wlsm-container .table-responsive {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.wlsm-container .wlsm-parent-student-section,
.wlsm-container .wlsm-st-details {
	/* background: #fff;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
	padding: 12px 45px 20px;
	border-bottom: 1px solid #dedede; */
}
@media ( max-width: 768px ) {
	.wlsm-container .wlsm-st-details {
		/* padding: 0; */
		margin-bottom: 1.5rem;
	}
	.wlsm-container .wlsm-parent-students .wlsm-parent-student-links {
		margin-top: .5rem;
	}
}
.wlsm-container .wlsm-parent-student-section {
	box-shadow: 1px 1px 4px rgba(0, 0, 0, .3);
}
.wlsm-container .wlsm-parent-student-detail,
.wlsm-container .wlsm-parent-student-links {
	display: inline-block;
	float: left;
}
.wlsm-container .wlsm-parent-student-detail {
	width: 60%;
}
.wlsm-container .wlsm-parent-student-entity .wlsm-parent-student-detail {
	display: block;
	width: 100%;
	float: none;
}
.wlsm-container .wlsm-parent-student-links {
	width: 40%;
	padding: 0;
	margin: 0;
	list-style-type: none;
	list-style-position: outside;
}
.wlsm-container .wlsm-parent-student-links li {
	border-bottom: 1px solid #a5a5a5;
	padding-bottom: .35rem;
}
.wlsm-container .wlsm-parent-student-section::after {
	content: '';
	display: table;
	clear: both;
}
@media screen and (max-width: 768px) {
	.wlsm-container .wlsm-parent-student-detail,
	.wlsm-container .wlsm-parent-student-links {
		display: block;
		width: 100%;
	}
}
/* Menu icon */
.wlsm-container .wlsm-navigation-links {
	z-index: 3;
	clear: both;
	max-height: 0;
	overflow: hidden;
	transition: max-height .2s ease-out;
}
.wlsm-container .wlsm-menu-label {
	cursor: pointer;
	display: inline-block;
	float: right;
	padding: 28px 20px;
	position: relative;
	user-select: none;
}
.wlsm-container .wlsm-menu-icon {
	background: #333;
	display: block;
	height: 2px;
	position: relative;
	transition: background .2s ease-out;
	width: 18px;
}
.wlsm-container .wlsm-menu-icon::before,
.wlsm-container .wlsm-menu-icon::after {
	background: #333;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
}
.wlsm-container .wlsm-menu-icon::before {
	top: 5px;
}
.wlsm-container .wlsm-menu-icon::after {
	top: -5px;
}
.wlsm-container .wlsm-menu-btn {
	display: none !important;
}
.wlsm-container .wlsm-menu-btn:checked ~ .wlsm-navigation-links {
	max-height: initial;
}
.wlsm-menu-btn:checked ~ .wlsm-menu-label .wlsm-menu-icon {
	background: transparent;
}
.wlsm-menu-btn:checked ~ .wlsm-menu-label .wlsm-menu-icon:before {
	transform: rotate(-45deg);
}
.wlsm-menu-btn:checked ~ .wlsm-menu-label .wlsm-menu-icon:after {
	transform: rotate(45deg);
}
.wlsm-menu-btn:checked ~ .wlsm-menu-label:not(.steps) .wlsm-menu-icon:before,
.wlsm-menu-btn:checked ~ .wlsm-menu-label:not(.steps) .wlsm-menu-icon:after {
	top: 0;
}
@media(min-width: 768px) {
	.wlsm-container .wlsm-navigation-links {
		box-sizing: border-box;
		width: 20%;
		float: left;
	}
	.wlsm-shortcode-entity .wlsm-content-area {
		width: unset;
		float: none;
	}
	.wlsm-container .wlsm-content-area {
		box-sizing: border-box;
		width: 80%;
		float: right;
	}
	.wlsm-container-parent .wlsm-content-area {
		width: 100%;
		float: none;
	}
	.wlsm-container .wlsm-navigation-links::after,
	.wlsm-container .wlsm-content-area::after {
		display: table;
		content: '';
		clear: both;
	}
	.wlsm-container .wlsm-navigation-links {
		clear: none;
		max-height: none;
	}
	.wlsm-container .wlsm-menu-label {
		display: none;
	}
}
@media(min-width: 600px) {
	.wlsm-l-w-30 {
		width: 30%;
	}
	.wlsm-l-w-48 {
		width: 48%;
	}
	.wlsm-l-w-49 {
		width: 49%;
	}
	.wlsm-l-w-50 {
		width: 50%;
	}
	.wlsm-l-w-70 {
		width: 70%;
	}
}

/* ========================================
   ENHANCED DASHBOARD STYLES
   ======================================== */

/* Modern Container */
.wlsm-container {
    box-sizing: border-box;
    max-width: 100%;
}

.wlsm-container .wlsm-content-area {
    box-sizing: border-box;
    min-height: 600px;
    width: 100%;
    padding: 24px;
    border: none;
    color: #2d3748;
    background-color: #f7fafc;
    border-radius: 12px;
}

/* Override default navigation for modern look */
.wlsm-container .wlsm-navigation-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    z-index: 3;
}

.wlsm-container .wlsm-navigation-links li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e2e8f0;
    list-style: none;
    display: block;
}

.wlsm-container .wlsm-navigation-links li:last-child {
    border-bottom: none;
}

.wlsm-navigation-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    font-weight: 500;
    font-size: 15px;
    color: #4a5568;
    text-decoration: none;
    box-shadow: none;
    background-color: transparent;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.wlsm-navigation-links li a:hover,
.wlsm-navigation-links li a:focus,
.wlsm-navigation-links li a.active {
    color: #667eea;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    border-left-color: #667eea;
    transform: translateX(4px);
    box-shadow: none;
    font-weight: 600;
}

/* Modern content area */
.wlsm-container .wlsm-content-area {
    background: #f7fafc;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 24px;
}

/* Student Portal Specific Styling */
.wlsm-student-dashboard {
    background: #f7fafc;
}

/* Student details styling */
.wlsm-st-details {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.wlsm-container .wlsm-st-details-heading {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wlsm-container .wlsm-st-details-list {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
}

.wlsm-container .wlsm-st-details-list li {
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    margin-bottom: 0;
    border-radius: 0;
    border-left: none;
    transform: none;
    box-shadow: none;
}

.wlsm-container .wlsm-st-details-list li:last-child {
    border-bottom: none;
}

.wlsm-container .wlsm-st-details-list li:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.wlsm-st-details-list-key {
    font-weight: 600;
    color: #4a5568;
}

.wlsm-st-details-list-value {
    color: #2d3748;
}

.wlst-st-list {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
}

.wlst-st-list li {
    padding: 0;
    border-bottom: none;
    background: transparent;
    margin-bottom: 0;
    border-radius: 0;
    border-left: none;
}

/* Override hover effects for lists inside cards */
.wlsm-container .wlsm-card-body ul li {
    background: transparent;
    margin-bottom: 0;
    border-radius: 0;
    border-left: none;
    transition: none;
}

.wlsm-container .wlsm-card-body ul li:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.wlsm-parent-student-section {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Enhanced list styling - Reset for specific contexts */
.wlsm-container .wlsm-parent-student-section ul li,
.wlsm-container .wlsm-parent-student-detail ul li {
    padding: 8px 0;
    background: transparent;
    margin-bottom: 0;
    border-radius: 0;
    border-left: none;
    transition: none;
    border-bottom: 1px solid #e2e8f0;
}

.wlsm-container .wlsm-parent-student-section ul li:hover,
.wlsm-container .wlsm-parent-student-detail ul li:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* Payment info cards */
.wlsm-invoice-info,
.wlsm-payment-info {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
    border-top: 4px solid #667eea;
}

/* Amount displays */
.wlsm-amount-display {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Status badges */
.wlsm-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wlsm-status-paid {
    background: #c6f6d5;
    color: #22543d;
}

.wlsm-status-pending {
    background: #feebc8;
    color: #7c2d12;
}

.wlsm-status-overdue {
    background: #fed7d7;
    color: #742a2a;
}

/* Mobile menu enhancements */
.wlsm-container .wlsm-menu-label {
    cursor: pointer;
    display: none;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    user-select: none;
    position: relative;
    margin-bottom: 15px;
}

.wlsm-container .wlsm-menu-icon {
    background: #ffffff;
    display: block;
    height: 3px;
    position: relative;
    transition: background .2s ease-out;
    width: 24px;
    margin: 0 auto;
}

.wlsm-container .wlsm-menu-icon::before,
.wlsm-container .wlsm-menu-icon::after {
    background: #ffffff;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.wlsm-container .wlsm-menu-icon::before {
    top: -8px;
}

.wlsm-container .wlsm-menu-icon::after {
    top: 8px;
}

.wlsm-container .wlsm-menu-btn {
    display: none !important;
}

.wlsm-container .wlsm-menu-btn:checked ~ .wlsm-navigation-links {
    display: block;
    max-height: 2000px;
}

.wlsm-menu-btn:checked ~ .wlsm-menu-label .wlsm-menu-icon {
    background: transparent;
}

.wlsm-menu-btn:checked ~ .wlsm-menu-label .wlsm-menu-icon:before {
    transform: rotate(-45deg);
    top: 0;
}

.wlsm-menu-btn:checked ~ .wlsm-menu-label .wlsm-menu-icon:after {
    transform: rotate(45deg);
    top: 0;
}

/* Mobile Responsive */
@media(max-width: 767px) {
    .wlsm-container .wlsm-menu-label {
        display: block;
    }
    
    .wlsm-container .wlsm-navigation-links {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease-out;
    }
    
    .wlsm-container .wlsm-content-area {
        padding: 16px;
        width: 100%;
        float: none;
    }
    
    .wlsm-navigation-links li a {
        padding: 14px 20px;
        font-size: 14px;
    }
}

@media(min-width: 768px) {
    .wlsm-container .wlsm-navigation-links {
        box-sizing: border-box;
        width: 22%;
        float: left;
        display: block !important;
        max-height: none;
    }
    
    .wlsm-container .wlsm-content-area {
        box-sizing: border-box;
        width: 78%;
        float: right;
    }
    
    .wlsm-container-parent .wlsm-content-area {
        width: 100%;
        float: none;
    }
    
    .wlsm-container .wlsm-navigation-links::after,
    .wlsm-container .wlsm-content-area::after {
        display: table;
        content: '';
        clear: both;
    }
    
    .wlsm-container .wlsm-menu-label {
        display: none;
    }
}

/* ========================================
   MODERN LOGIN FORM STYLES
   ======================================== */

/* Login page container */
.wlsm-login-container {
    max-width: 480px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Login header with logo and title */
.wlsm-login-header {
    text-align: center;
    margin-bottom: 32px;
}

.wlsm-login-logo {
    margin-bottom: 24px;
}

.wlsm-login-logo img {
    max-width: 180px;
    height: auto;
    display: inline-block;
}

.wlsm-login-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.wlsm-login-subtitle {
    font-size: 15px;
    color: #718096;
    margin: 0;
}

/* Modern login form container */
#wlsm-login-form {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Login form labels */
#wlsm-login-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Login form inputs */
#wlsm-login-form input[type="text"],
#wlsm-login-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #f7fafc;
    box-sizing: border-box;
}

#wlsm-login-form input[type="text"]:focus,
#wlsm-login-form input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Remember me checkbox */
#wlsm-login-form .login-remember {
    margin: 16px 0;
}

#wlsm-login-form .login-remember label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #4a5568;
}

#wlsm-login-form .login-remember input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

/* Login submit button */
#wlsm-login-form input[type="submit"],
#wlsm-login-form #wlsm-login-submit {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.5px;
}

#wlsm-login-form input[type="submit"]:hover,
#wlsm-login-form #wlsm-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

#wlsm-login-form input[type="submit"]:active,
#wlsm-login-form #wlsm-login-submit:active {
    transform: translateY(0);
}

/* Lost password link */
#wlsm-login-form + a,
.wlsm-login-links a {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

#wlsm-login-form + a:hover,
.wlsm-login-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Widget login form styling */
.wlsm-widget-login-container {
    padding: 20px;
}

#wlsm-login-via-widget-form {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

#wlsm-login-via-widget-form input[type="text"],
#wlsm-login-via-widget-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f7fafc;
    box-sizing: border-box;
    margin-bottom: 12px;
}

#wlsm-login-via-widget-form input[type="text"]:focus,
#wlsm-login-via-widget-form input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#wlsm-login-via-widget-form input[type="submit"],
#wlsm-login-via-widget-submit {
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#wlsm-login-via-widget-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.wlsm-widget-logged-in {
    padding: 20px;
    text-align: center;
}

.wlsm-widget-logged-in p {
    margin-bottom: 16px;
    color: #4a5568;
    font-size: 15px;
}

.wlsm-widget-logged-in .wlsm-btn {
    display: inline-block;
    width: auto;
    padding: 10px 24px;
}

/* ========================================
   DASHBOARD HEADER & LOGO STYLES
   ======================================== */

/* Portal header with logo */
.wlsm-portal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.wlsm-portal-title {
    flex: 1;
}

.wlsm-portal-heading {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.wlsm-portal-logo {
    max-width: 150px;
    height: auto;
    margin-left: 24px;
}

.wlsm-portal-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* ========================================
   DASHBOARD CARDS STYLES
   ======================================== */

.wlsm-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.wlsm-dashboard-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.wlsm-dashboard-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.wlsm-card-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-bottom: 1px solid #e2e8f0;
}

.wlsm-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wlsm-card-icon {
    font-size: 20px;
}

.wlsm-card-body {
    padding: 24px;
}

/* Info rows in cards */
.wlsm-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.wlsm-info-row:last-child {
    border-bottom: none;
}

.wlsm-info-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

.wlsm-info-value {
    color: #2d3748;
    font-size: 14px;
    text-align: right;
}

/* Student photo in dashboard */
.wlsm-student-photo-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.wlsm-student-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Transport section styling */
.wlsm-transport-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #e2e8f0;
}

/* Notice content styling */
.wlsm-notice-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wlsm-notice-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 15px;
}

.wlsm-st-notice-date {
    font-size: 13px;
    color: #718096;
}

.wlsm-notice-desc {
    margin-top: 8px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

.wlsm-no-notices {
    text-align: center;
    padding: 32px;
    color: #718096;
    font-size: 15px;
}

/* ========================================
   BACK TO DASHBOARD BUTTON
   ======================================== */

.wlsm-back-to-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    background: #ffffff;
    border: 2px solid #667eea;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.wlsm-back-to-dashboard:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.wlsm-back-to-dashboard::before {
    content: "←";
    font-size: 18px;
}

/* ========================================
   MODERN BUTTON STYLES
   ======================================== */

/* Universal button styling */
.wlsm-container button,
.wlsm-container input[type="submit"],
.wlsm-container input[type="button"],
.wlsm-container .btn,
.wlsm-container .button,
.wlsm-btn,
.wlsm-btn-primary,
.wlsm-btn-success,
.wlsm-btn-danger,
.wlsm-btn-info,
.wlsm-btn-warning {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
    text-decoration: none;
}

.wlsm-btn-primary,
.wlsm-container .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.wlsm-btn-primary:hover,
.wlsm-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.wlsm-btn-success,
.wlsm-container .btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #ffffff;
}

.wlsm-btn-success:hover,
.wlsm-container .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.wlsm-btn-danger,
.wlsm-container .btn-danger {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: #ffffff;
}

.wlsm-btn-danger:hover,
.wlsm-container .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
}

.wlsm-btn-info,
.wlsm-container .btn-info {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #ffffff;
}

.wlsm-btn-info:hover,
.wlsm-container .btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.wlsm-btn-warning,
.wlsm-container .btn-warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: #ffffff;
}

.wlsm-btn-warning:hover,
.wlsm-container .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.3);
}

/* Small button variant */
.wlsm-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Large button variant */
.wlsm-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ========================================
   MOBILE RESPONSIVENESS
   ======================================== */

@media(max-width: 767px) {
    /* Login form mobile */
    #wlsm-login-form {
        margin: 20px;
        padding: 28px 24px;
    }
    
    /* Dashboard header mobile */
    .wlsm-portal-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .wlsm-portal-heading {
        font-size: 22px;
    }
    
    .wlsm-portal-logo {
        margin-left: 0;
        margin-top: 16px;
        max-width: 120px;
    }
    
    /* Dashboard grid mobile */
    .wlsm-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .wlsm-dashboard-card {
        border-radius: 12px;
    }
    
    .wlsm-card-header {
        padding: 16px 20px;
    }
    
    .wlsm-card-body {
        padding: 20px;
    }
    
    .wlsm-card-title {
        font-size: 16px;
    }
    
    /* Info rows mobile */
    .wlsm-info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .wlsm-info-value {
        text-align: left;
    }
    
    /* Student photo mobile */
    .wlsm-student-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Buttons mobile */
    .wlsm-container button,
    .wlsm-container input[type="submit"],
    .wlsm-container input[type="button"],
    .wlsm-container .btn,
    .wlsm-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .wlsm-back-to-dashboard {
        width: auto;
        display: inline-flex;
    }
}

@media(min-width: 768px) and (max-width: 1024px) {
    /* Tablet adjustments */
    .wlsm-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wlsm-portal-heading {
        font-size: 24px;
    }
}
