/* ========================================================== */
/* --- Π.Ε.Σ.Τ.Α. - MASTER STYLESHEET (UNIFIED & DEDUPLICATED) --- */
/* ========================================================== */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-color: #333333;
    --border-color: #cbd5e1;
    --font-stack: Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-stack);
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 70px;
	overflow-x: hidden; /* Αποτρέπει οποιαδήποτε ακούσια οριζόντια κύλιση */
}

/* ======================================== */
/*        NAVIGATION BAR & MENU             */
/* ======================================== */
 
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Χωρίζει αριστερά και δεξιά */
    padding: 0 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}
 
.navbar-left {  display: flex; align-items: center;  gap: 15px;}
.navbar-right { display: flex; align-items: center;gap: 10px;color: #cbd5e1; font-size: 14px; margin-left: auto; }
.navbar-right .username {color: #ffffff; font-weight: bold;}

 
.navbar {
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
}

.navbar-right {
    flex-shrink: 0;
}


.menu-btn { background: none; border: none; color: white; font-size: 24px; cursor: pointer; margin-right: 15px; padding: 5px; }
.brand { display: flex; align-items: center; text-decoration: none; color: white; }
.brand img { width: 35px; height: 35px; border-radius: 50%; margin-right: 10px; background-color: white; object-fit: cover; }
.brand .title { font-size: 1.2rem; font-weight: bold; }
.sidebar { position: fixed; top: 0; left: -260px; width: 260px; height: 100vh; background-color: #1a252f; color: white; transition: left 0.3s ease; z-index: 1050; overflow-y: auto; box-shadow: 2px 0 5px rgba(0,0,0,0.5); }
.sidebar.open { left: 0; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #34495e; }
.sidebar-header h3 { font-size: 1.2rem; }
.close-btn { background: none; border: none; color: white; font-size: 28px; cursor: pointer; }
.sidebar-menu { list-style: none; }
.sidebar-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; color: #ecf0f1; text-decoration: none; border-bottom: 1px solid #2c3e50; transition: background 0.2s; }
.sidebar-menu li a:hover { background-color: #34495e; }
.sidebar-menu li.logout a { background-color: #c0392b; border-bottom: none; }
.sidebar-menu li.logout a:hover { background-color: #a53125; }
.submenu { list-style: none; background-color: #121a21; display: none; }
.submenu.open { display: block; }
.submenu li a { padding-left: 40px; font-size: 0.95rem; color: #bdc3c7; border-bottom: 1px solid #1a252f; }
.arrow { font-size: 0.8rem; transition: transform 0.3s; }
.arrow.rotate { transform: rotate(180deg); }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s ease; z-index: 1040; }
.overlay.active { opacity: 1; visibility: visible; }
.main-content { padding: 10px; max-width: 1600px; margin: 0 auto; }
 
.navbar .brand .title { font-size: 1.2rem;  font-weight: bold;}
.navbar-nav { display: flex; gap: 20px; align-items: center; list-style: none;}
.navbar-nav a { color: #cbd5e1; text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s;}
.navbar-nav a:hover, .navbar-nav a.active { color: #ffffff; }

/* --- HEADER ACTIONS & TITLES --- */
.header-actions { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    flex-wrap: wrap; 
    gap: 15px; 
}
.header-actions h2 { 
    margin: 0; 
    color: var(--primary-color);
    font-size: 24px;
}

/* --- CONTENT CARDS & CONTAINERS --- */
.content-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 20px auto;
	margin-top:10px;
    /* max-width: 1200px; */
	max-width: 98%;
}

.form-container, .form-container-modal {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-section, .header-modal, .club-header {
    text-align: center;
    margin-bottom: 25px;
}

.club-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.club-header h2, .header-section h2, .header-modal h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 5px;
}

.club-header h3 {
    color: var(--accent-color);
    font-size: 15px;
    font-weight: normal;
    margin: 0;
}

/* --- WELCOME & NOTICES --- */
.welcome-text {
    background: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-size: 14.5px;
    color: #555;
    text-align: justify;
    line-height: 1.5;
}


/* --- TABLES & WRAPPERS --- */
.table-wrapper {
    max-height: calc(100svh - 300px);
    overflow-y: auto;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
}

.data-table, .members-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th, .data-table td,
.members-table th, .members-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e1e1e1;
    font-size: 13px;
}

.data-table th, .members-table th {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    z-index: 10;
    font-weight: normal;
}

.data-table tbody tr:hover, .members-table tbody tr:hover {
    background-color: #f1f9ff;
    cursor: pointer;
    transition: background 0.2s;
}

.data-table tfoot tr .members-table tfoot tr {
	display: flex;
	justify-content: flex-end;
	align-items: center; 
	margin-top: 15px; 
	padding: 10px 15px; 
	background: #f8f9fa; 
	border: 1px solid var(--border-color); 
	border-radius: 4px;
}
 
/* --- SUMMARY CARDS & TREASURY ROWS --- */
.summary-container { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 20px; 
    flex-wrap: wrap; 
}
.summary-box { 
    flex: 1; 
    min-width: 200px; 
    padding: 10px; 
    border-radius: 6px; 
    color: white; 
    text-align: center; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}
.box-income { background: var(--success-color); }
.box-expense { background: var(--danger-color); }
.box-balance { background: #2980b9; }
.summary-box h4 { margin: 0 0 5px 0; font-size: 14px; font-weight: normal; opacity: 0.9; }
.summary-box span { font-size: 20px; font-weight: bold; }

.type-income { color: #27ae60; font-weight: bold; }
.type-expense { color: #e74c3c; font-weight: bold; }
 
/* --- TREASURY DYNAMIC ROW & TEXT COLORS --- */
tr.income, tr.is-income, tr.row-income, tr.table-row-income,
td.income, td.amount-income, span.income {
    color: var(--success-color) !important;
}
tr.income td, tr.is-income td, tr.row-income td, tr.table-row-income td {
    background-color: rgba(39, 174, 96, 0.08) !important;
}

tr.expense, tr.is-expense, tr.row-expense, tr.table-row-expense,
td.expense, td.amount-expense, span.expense {
    color: var(--danger-color) !important;
}
tr.expense td, tr.is-expense td, tr.row-expense td, tr.table-row-expense td {
    background-color: rgba(231, 76, 60, 0.08) !important;
}

.text-income, .amount-income { color: var(--success-color) !important; font-weight: bold; }
.text-expense, .amount-expense { color: var(--danger-color) !important; font-weight: bold; }

tr.row-income, tr.table-row-income { background-color: rgba(39, 174, 96, 0.08) !important; }
tr.row-expense, tr.table-row-expense { background-color: rgba(231, 76, 60, 0.08) !important; }

tr.row-income:hover, tr.table-row-income:hover { background-color: rgba(39, 174, 96, 0.15) !important; }
tr.row-expense:hover, tr.table-row-expense:hover { background-color: rgba(231, 76, 60, 0.15) !important; }

.badge-income { background-color: #d4edda; color: #155724; padding: 4px 8px; border-radius: 4px; font-weight: bold; }
.badge-expense { background-color: #f8d7da; color: #721c24; padding: 4px 8px; border-radius: 4px; font-weight: bold; }

/* --- SEARCH & INPUT CONTROLS --- */
.search-box {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus, input:focus, select:focus, textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.form-group { flex: 1; margin-bottom: 0; }
.form-group.full-width { flex: unset; width: 100%; margin-bottom: 20px; }

label.main-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--primary-color);
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    background: #fff;
    transition: 0.2s;
    font-family: var(--font-stack);
}

/* --- FRAMES, CHECKBOXES & ACCORDIONS --- */
.field-frame {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px;
    background-color: #fdfdfd;
    margin-top: 5px;
}

.checkbox-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    margin: 0;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

details.custom-accordion {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #fdfdfd;
    margin-top: 5px;
    transition: 0.3s;
}

details.custom-accordion summary {
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}

details.custom-accordion summary::-webkit-details-marker { display: none; }
details.custom-accordion summary::after { content: '▼'; font-size: 12px; transition: transform 0.2s; color: #7f8c8d; }
details.custom-accordion[open] summary::after { transform: rotate(180deg); }
details.custom-accordion[open] summary { border-bottom: 1px solid #eee; }
details.custom-accordion .accordion-content { padding: 15px; }

/* --- BUTTONS & TOOLBARS --- */
.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    color: white;
    font-weight: 100;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.1s;
    text-decoration: none;
}

/* Εικονίδια στα κουμπιά */
.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    margin: 0; /* Αφαίρεση εξωτερικών margins */
}

.btn-icon svg { 
    width: 18px; 
    height: 18px; 
}

/* Κουμπιά .btn-new / .btn-new-member: Μόνο εικονίδιο και κείμενο (χωρίς επιπλέον σύμβολα) */
.btn-new, .btn-new-member { 
    background: var(--accent-color); 
    margin-left: auto; 
}
.btn-new:hover, .btn-new-member:hover { 
    background: #2980b9; 
}
.btn-new .btn-text, .btn-new-member .btn-text { 
    display: inline-block !important; 
}

/* Στυλ για το κουμπί πληρωμών (#btnPayments / .btn-payments) */
#btnPayments, .btn-payments {
    background-color: #16a085;
}
#btnPayments:hover, .btn-payments:hover {
    background-color: #138d75;
}
 
.btn-label { background: var(--primary-color); }

.btn-save { background: var(--success-color); }
.btn-save:hover { background: #219653; }

.btn-delete { background: var(--danger-color); } 
.btn-delete:hover { background: #a93226; }

.btn-secondary { background: #95a5a6; } 
.btn-secondary:hover { background: #7f8c8d; }

.btn-orange { background: #FFAC1C; color:black; } 
.btn-orange:hover { background: #E96316;color:white; }

.btn-blue { background: #296bd5; color:white;font-weight:300; } 
.btn-blue:hover { background: #194da1;color:white; }

.btn-mail { background: #2552DA; } 
.btn-mail:hover { background: #1C3FA6 ; }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 18px;
   /* font-weight: bold; */
    cursor: pointer;
    transition: 0.3s;
}
.btn-submit:hover { background: #219653; }

.app-toolbar {
    background: #f8f9fa;
    padding: 12px 25px;
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-tool {
    padding: 7px 12px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 100;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    transition: 0.2s;
}

 
/* Έντονο κουμπί φίλτρου με χρώμα */
.btn-filter-active {
	background: #1F7A55 !important;
	color: white !important;
	border-color: #1F7A55 !important;
}

.btn-filter-active svg {
	stroke: white !important;
}
.btn-filter-clear {
	background: #E7180B !important;
	color: white !important;
	border-color: #E7180B !important;
}

.btn-filter-active:hover {
	background: #A65F1B !important;
}

/* Αυστηρά τετράγωνα κουμπιά σε όλες τις συσκευές */
.toolbar-btn {
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	max-width: 42px !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	border-radius: 4px !important;
	flex-shrink: 0 !important;
}
.toolbar-btn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}
 

    /* Compact Toggle Switch Styling */
    .type-toggle-container {
        display: flex;
        background: #d4d7d9;
        border-radius: 6px;
        padding: 3px;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }

/* Πορτοκαλί για στοιχεία/headers στο PDF ή κουμπί PDF */
.btn-pdf {
    background-color: #E65100;
    color: #ffffff;
}
.btn-pdf:hover {
    background-color: #EF6C00;
}

/* Μπλε για το κουμπί Print (Primary Action) */
.btn-print {
    background-color: #1565C0;
    color: #ffffff;
}
.btn-print:hover {
    background-color: #0D47A1;
}

/* Ανοιχτό μπλε για Επιστροφή / Κλείσιμο (Secondary Action) */
.btn-back {
    background-color: #34495e;
    color: #ffffff;
}
.btn-back:hover {
    background-color: #0D47A1;
}
	
.type-toggle-container label {
	flex: 1;
	text-align: center;
	padding: 7px 10px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	z-index: 2;
	transition: color 0.2s ease;
	margin-bottom: 0 !important;
	user-select: none;
}
.type-toggle-container input[type="radio"] {
	display: none;
}
.type-slider {
	position: absolute;
	top: 3px;
	bottom: 3px;
	width: calc(50% - 3px);
	background: #27ae60; /* Πράσινο για Έσοδο */
	border-radius: 4px;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
	z-index: 1;
}

#typeExpense:checked ~ .type-slider {
	transform: translateX(100%);
	background: #c0392b; /* Kokkino για Έξοδο */
}
#typeIncome:checked ~ label[for="typeIncome"],
#typeExpense:checked ~ label[for="typeExpense"] {
	color: #fff;
}

	
.status-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.status-container select {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #bdc3c7;
    font-weight: bold;
    font-size: 13px;
}

.spacer { flex: 1; }

/* --- CUSTOM MODALS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 10px;
    width: 100%;
    max-width: 920px;
    position: relative;
    transform: translateY(-20px);
    transition: 0.3s;
    max-height: 99svh;
	height: auto;
    display: flex; 
    flex-direction: column;
    overflow: hidden;
	/* overflow-y: visible; */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 { margin: 0; font-size: 18px; font-weight: 600; }

.close-modal {
    font-size: 28px;
    cursor: pointer;
    color: #cbd5e1;
    transition: 0.2s;
    line-height: 1;
}
.close-modal:hover { color: #fff; }

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
    background: #f0f2f5;
}

/* --- MATH CAPTCHA --- */
.captcha-box {
    background: #e8f4fd;
    border: 1px solid #b6d4fe;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.captcha-box label {
    font-size: 16px;
    color: #084298;
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
    border: none;
}

.captcha-input {
    width: 80px !important;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
}

/* --- SUCCESS & NOTIFICATION BOXES --- */
.success-box {
    display: none;
    text-align: center;
    background: #d4edda;
    color: #155724;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #c3e6cb;
    margin-top: 20px;
}

.success-box h3 { margin-bottom: 10px; }

.user_type { 
padding: 4px 8px; 
border-radius: 12px; 
font-size: 12px; 
font-weight: bold; 
background: #ecf0f1; color: #333; 
} 

.nowrap-price {
    white-space: nowrap;
}

/* --- RESPONSIVE MEDIA QUERIES (MOBILE) --- */
@media (max-width: 600px) {
    .navbar { justify-content: flex-start; padding-left: 15px; }
    .navbar-right span {font-size: 13px; }
	
    .form-row { flex-direction: column; gap: 0; }
    .form-group { margin-bottom: 15px; }
    .checkbox-grid { grid-template-columns: 1fr; gap: 8px; }
    .checkbox-group-inline { gap: 10px; }
    .status-container { margin-left: 0; width: 100%; justify-content: space-between; }
    .modal-content { max-height: 98svh; }
    .modal-header { padding: 15px; }
    .modal-body { padding: 15px; }

    /* Εξαιρούμε τα .btn-new / .btn-new-member, ώστε να διατηρούν το κείμενο και το εικονίδιό τους */
    .btn:not(.btn-new):not(.btn-new-member) .btn-text { display: none !important; }
    .btn:not(.btn-new):not(.btn-new-member) .btn-icon { display: flex; align-items: center; justify-content: center; }
    .btn:not(.btn-new):not(.btn-new-member) .btn-icon svg { width: 22px; height: 22px; }

    .btn-group { justify-content: space-between; }
    .btn { padding: 14px 5px; flex: 1; } 
    .spacer { display: none; } 
    
    .btn-new, .btn-new-member { margin-left: 0; width: 100%; }
    .btn-new .btn-text, .btn-new-member .btn-text { display: inline-block !important; } 

    .header-actions { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 15px; gap: 10px; }
    .header-actions h2 { margin: 0; font-size: 20px; }


}
/* ======================================================
		Buttons to Index 
   ====================================================== */
 
    .dashboard-container {
        max-width: 900px;
        margin: 40px auto;
        padding: 20px;
        text-align: center;
    }

    .dashboard-welcome {
        background: rgba(255, 255, 255, 0.92);
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        margin-bottom: 35px;
        backdrop-filter: blur(5px);
    }

    .dashboard-welcome h2 {
        color: #2c3e50;
        font-size: 28px;
        margin-bottom: 10px;
    }

    .dashboard-welcome p {
        color: #555;
        font-size: 16px;
        line-height: 1.5;
        margin: 0;
    }

    /* Grid για τα μεγάλα κουμπιά */
    .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 25px;
    }
 
.dash-card {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 10px;
        padding:  5px 20px;
        text-decoration: none;
        color: #2c3e50;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
        display: flex;
        flex-direction: column;
        /* align-items: flex-start; */ /* Στοίχιση στα αριστερά (ή center αν προτιμάς) */
        align-items: center;
		justify-content: center;
        border-top: 5px solid #3498db;
    }
	
    .dash-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.35);
        background: #ffffff;
        color: #2980b9;
    }

	.dash-header-row { display: flex;  align-items: center; gap: 12px; margin-bottom: 12px; }
   /*  .dash-icon { font-size: 45px;  margin-bottom: 15px; } */
	.dash-icon { font-size: 45px; margin-bottom: 0;  }
    .dash-title { font-size: 20px; font-weight: bold; margin-bottom: 0px; }
    .dash-desc { font-size: 13.5px; color: #666; text-align: center; margin: 0;  margin-bottom: 10px; }

    .card-applications { border-top-color: #f39c12; }
    .card-members { border-top-color: #27ae60; }
    .card-payments { border-top-color: #16a085; }
    .card-treasury { border-top-color: #2980b9; }
    .card-users { border-top-color: #8e44ad; }
	.card-notes { border-top-color: #e67e22; }

/* ======================================================
		
   ====================================================== */
 
@media (max-width: 768px) {
	
	.dashboard-welcome {display: none;}
	
	.form-row {
		flex-direction: column !important;
		gap: 5px !important;
		margin-bottom: 0 !important;
	}
	.form-row .form-group {
		width: 100% !important;
		flex: unset !important;
		margin-bottom: 8px !important;
	}
	
	.department-filter-wrapper {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
	.mobile-icon-btn .btn-text { display: none !important; }
    .mobile-icon-btn { 
        padding: 10px 12px !important; 
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
	
	#departmentFilter option {
        font-size: 10px !important;
    }
	
	h2 {display:none;}

}




	
@media print {
    .no-print { display: none !important; }

  
    .form-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    .form-row .form-group {
        flex: 1 !important;
        width: auto !important;
        margin-bottom: 0 !important;
    }
 
    /* Κρύβουμε όλα τα περιττά στοιχεία της σελίδας κατά την εκτύπωση */
    .navbar, 
    .header-actions, 
    #filterModal, 
    #paymentModal, 
    .search-box, 
    .btn, 
    a.btn {
        display: none !important;
    }

    /* Προσαρμογή της κάρτας και του πίνακα για εκτύπωση */
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt;
    }

    .content-card {
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Προσθήκη επικεφαλίδας μόνο για την εκτύπωση */
    .content-card::before {
        content: "Π.Ε.Σ.Τ.Α. - Κατάσταση Εισπράξεων";
        display: block;
        font-size: 18pt;
        font-weight: bold;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Στυλ πίνακα εκτύπωσης */
    .members-table {
        width: 100% !important;
        border-collapse: collapse !important;
    }

    .members-table th, .members-table td {
        border: 1px solid #ddd !important;
        padding: 6px 8px !important;
        font-size: 10pt;
    }

    .members-table th {
        background-color: #f2f2f2 !important;
        color: #000 !important;
    }

    /* Εμφάνιση συνόλου καθαρά στην εκτύπωση */
    div[style*="justify-content: flex-end"] {
        border: none !important;
        background: none !important;
        margin-top: 15px !important;
        font-size: 14pt;
        justify-content: flex-end !important;
    }
}
 