.edures-dashboard {
	max-width: 760px;
	margin: 0 auto;
	font-size: 16px;
}

.edures-tabs {
	display: flex;
	gap: 4px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 24px;
}

.edures-tabs a {
	padding: 10px 16px;
	text-decoration: none;
	color: #555;
	border-bottom: 3px solid transparent;
}

.edures-tabs a.is-active {
	color: #1a1a1a;
	border-bottom-color: #2271b1;
	font-weight: 600;
}

.edures-notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.edures-notice-success {
	background: #eaf7ec;
	border: 1px solid #b6e3bd;
	color: #1d6b2d;
}

.edures-notice-error {
	background: #fbeaea;
	border: 1px solid #f0b8b8;
	color: #9c1f1f;
}

.edures-manuscript-card {
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 16px;
}

.edures-manuscript-card h3 {
	margin: 0 0 8px;
}

.edures-status-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	background: #eee;
	color: #444;
}

.edures-status-submitted        { background: #e7f1fb; color: #1c5a96; }
.edures-status-under_review     { background: #fff4e0; color: #946200; }
.edures-status-revision_requested { background: #fdeede; color: #a45a14; }
.edures-status-accepted         { background: #e6f7ec; color: #1f7a3d; }
.edures-status-published        { background: #e6f7ec; color: #1f7a3d; }
.edures-status-rejected         { background: #fbeaea; color: #9c1f1f; }
.edures-status-withdrawn        { background: #ececec; color: #555; }

.edures-revision-upload {
	margin-top: 10px;
}

.edures-revision-upload summary {
	cursor: pointer;
	color: #2271b1;
}

.edures-training-table {
	width: 100%;
	border-collapse: collapse;
}

.edures-training-table th,
.edures-training-table td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #eee;
}

/* === ARTICLE TEMPLATE DOWNLOAD NOTICE ================================ */

.edures-template-notice {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #F0F5FF;
	border: 2px solid #003366;
	border-left: 6px solid #D4A017;
	border-radius: 6px;
	padding: 24px;
	margin-bottom: 32px;
}

.edures-template-notice-icon {
	font-size: 36px;
	flex-shrink: 0;
	margin-top: 2px;
}

.edures-template-notice-body h3 {
	font-size: 17px;
	font-weight: 700;
	color: #003366;
	margin: 0 0 8px;
}

.edures-template-notice-body p {
	font-size: 14px;
	color: #444;
	margin: 0 0 14px;
	line-height: 1.6;
}

.edures-template-checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 16px;
}

.edures-template-checklist li {
	font-size: 13px;
	color: #333;
	padding: 2px 0;
}

.edures-template-download-btn {
	display: inline-block;
	background: #003366;
	color: #FFFFFF !important;
	font-weight: 700;
	font-size: 14px;
	padding: 12px 22px;
	border-radius: 4px;
	text-decoration: none;
	margin-bottom: 10px;
	border: 2px solid #003366;
}

.edures-template-download-btn:hover {
	background: #002244;
	border-color: #002244;
	color: #FFFFFF !important;
}

.edures-template-hint {
	display: block;
	font-size: 12px;
	color: #777;
	margin-top: 8px;
}

/* === IMPROVED SUBMIT FORM ============================================ */

.edures-submit-section {
	border-top: 2px solid #e2e2e2;
	padding-top: 28px;
}

.edures-submit-section-title {
	font-size: 18px;
	font-weight: 700;
	color: #003366;
	margin: 0 0 6px;
}

.edures-submit-section-sub {
	font-size: 14px;
	color: #666;
	margin: 0 0 24px;
}

.edures-form-row {
	margin-bottom: 20px;
}

.edures-form-row label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: #003366;
	margin-bottom: 6px;
}

.edures-form-row input[type="text"],
.edures-form-row textarea,
.edures-form-row input[type="file"] {
	width: 100%;
	box-sizing: border-box;
}

.edures-form-row input[type="text"],
.edures-form-row textarea {
	border: 1px solid #CCCCCC;
	border-radius: 4px;
	padding: 10px 12px;
	font-size: 14px;
	color: #333;
	background: #FFFFFF;
}

.edures-form-row input[type="text"]:focus,
.edures-form-row textarea:focus {
	border-color: #003366;
	outline: none;
	box-shadow: 0 0 0 2px #00336618;
}

.edures-required {
	color: #C0392B;
	font-weight: 700;
}

.edures-field-hint {
	display: block;
	font-size: 12px;
	color: #777;
	font-weight: 400;
	margin-top: 2px;
}

.edures-submit-btn {
	background: #003366 !important;
	border-color: #003366 !important;
	color: #FFFFFF !important;
	font-size: 15px !important;
	padding: 12px 28px !important;
	height: auto !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	font-weight: 700 !important;
	cursor: pointer;
}

.edures-submit-btn:hover {
	background: #002244 !important;
	border-color: #002244 !important;
}

/* Mobile adjustments */
@media (max-width: 600px) {
	.edures-template-notice { flex-direction: column; }
	.edures-template-checklist { grid-template-columns: 1fr; }
}

/* Brand header with logo (v2) */
.edures-portal-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 2px solid #E8ECF0; }
.edures-portal-brand img { display: block; height: 54px; width: auto; }
.edures-portal-brand-t strong { display: block; font-family: 'Merriweather', Georgia, serif; font-size: 17px; color: #0A1628; }
.edures-portal-brand-t span { font-size: 12px; color: #C8960C; font-weight: 600; display: block; }
.edures-logged-out .edures-portal-brand { justify-content: center; border-bottom: none; }

/* ═══════ BEAUTIFUL LOGIN / REGISTER SCREEN ═══════ */
.edures-login-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: start;
}
.edures-login-card {
    background: #fff;
    border: 1px solid #E8ECF0;
    border-radius: 14px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(10,22,40,.08);
    border-top: 4px solid #C8960C;
}
.edures-login-logo {
    text-align: center;
    margin-bottom: 18px;
}
.edures-login-logo img {
    height: 75px;
    width: auto;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
}
.edures-login-card h2 {
    font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #0A1628;
    text-align: center;
    margin: 0 0 8px;
}
.edures-login-sub {
    text-align: center;
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}
/* Style the WP login form */
.edures-login-form-wrap label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0A1628;
    margin-bottom: 6px;
}
.edures-login-form-wrap input[type="text"],
.edures-login-form-wrap input[type="password"] {
    width: 100% !important;
    border: 1.5px solid #E8ECF0;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 14px;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.edures-login-form-wrap input:focus {
    outline: none;
    border-color: #0E6E75;
    box-shadow: 0 0 0 3px #E0F2F3;
}
.edures-login-form-wrap .login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #6B7280;
}
.edures-login-form-wrap input[type="submit"] {
    width: 100%;
    background: #0A1628 !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
}
.edures-login-form-wrap input[type="submit"]:hover {
    background: #0E6E75 !important;
}
.edures-login-links {
    text-align: center;
    margin-top: 14px;
}
.edures-login-links a {
    color: #0E6E75;
    font-size: 13px;
    text-decoration: none;
}
.edures-login-links a:hover { text-decoration: underline; }

/* Divider */
.edures-login-divider {
    text-align: center;
    margin: 24px 0 16px;
    position: relative;
}
.edures-login-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E8ECF0;
}
.edures-login-divider span {
    position: relative;
    background: #fff;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
}

/* Register button */
.edures-btn-register {
    display: block;
    text-align: center;
    background: #C8960C;
    color: #0A1628 !important;
    border-radius: 8px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s;
    margin-bottom: 12px;
}
.edures-btn-register:hover { background: #B8860B; }
.edures-register-hint {
    font-size: 12.5px;
    color: #9CA3AF;
    text-align: center;
    line-height: 1.6;
}
.edures-register-hint a { color: #0E6E75; }

/* Right side — features list */
.edures-login-features {
    padding: 40px 0 0;
}
.edures-login-features h3 {
    font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
    font-size: 22px;
    color: #0A1628;
    margin-bottom: 24px;
}
.edures-login-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.edures-lf-icon {
    width: 44px;
    height: 44px;
    background: #FAF8F3;
    border: 1px solid #E8ECF0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.edures-login-feature strong {
    display: block;
    font-size: 15px;
    color: #0A1628;
    margin-bottom: 2px;
}
.edures-login-feature p {
    font-size: 13.5px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .edures-login-hero {
        grid-template-columns: 1fr;
        padding: 20px 12px;
    }
    .edures-login-card { padding: 28px 22px; }
    .edures-login-features { padding: 0; }
}

/* ═══════ SIDEBAR DASHBOARD LAYOUT ═══════ */
.edures-dash-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    min-height: 500px;
    border: 1px solid #E8ECF0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.edures-sidebar {
    background: #0A1628;
    color: rgba(255,255,255,.7);
    padding: 0;
    overflow-y: auto;
}
.edures-sidebar-inner { padding: 12px 0; }
.edures-sidebar-group { margin-bottom: 8px; }
.edures-sidebar-group-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.3);
    padding: 14px 20px 6px;
}
.edures-sidebar-link {
    display: block;
    padding: 9px 20px;
    font-size: 13.5px;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    transition: all .15s;
    border-left: 3px solid transparent;
}
.edures-sidebar-link:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}
.edures-sidebar-link.is-active {
    background: rgba(200,150,12,.1);
    color: #C8960C;
    border-left-color: #C8960C;
    font-weight: 600;
}
.edures-main-content {
    padding: 24px 28px;
    overflow-x: auto;
}
.edures-sidebar-toggle {
    display: none;
    background: #0A1628;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    margin-bottom: 10px;
}
/* Hide old tab styling if still referenced */
.edures-tabs { display: none !important; }

/* ═══════ MOBILE: Sidebar becomes drawer ═══════ */
@media (max-width: 768px) {
    .edures-dash-layout {
        grid-template-columns: 1fr;
    }
    .edures-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 10000;
        box-shadow: 4px 0 24px rgba(0,0,0,.3);
    }
    .edures-sidebar.is-open {
        display: block;
    }
    .edures-sidebar-toggle {
        display: block;
    }
    .edures-main-content {
        padding: 16px 14px;
    }
}
