body{
    font-family: Arial, sans-serif;
    margin: 20px;
}
h1{
    color: #333;
}
button{
    padding: 8px 15px;
    margin: 5px;
    background-color: #2d89ef;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover{
    background-color: #1b5dab;
}
table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
table th, table td{
    padding: 10px;
    text-align: left;
}
table th{
    background-color: #2d89ef;
    color: white;
}
table tr:nth-child(even){
    background-color: #f2f2f2;
}
.stats{
    display: flex;
    gap: 20px;
}
.stats .card{
    flex: 1;
    background: #eee;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}
.stats .card i{
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
}
/* ---------- Add Member Page Style ---------- */

body{
    margin:0;
    font-family:'Segoe UI',sans-serif;
    background:linear-gradient(135deg,#1d2671,#c33764);
    min-height:100vh;
}

.container{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.card{
    background:#fff;
    width:100%;
    max-width:420px;
    padding:30px;
    border-radius:14px;
    box-shadow:0 15px 40px rgba(0,0,0,0.2);
}

.card h2{
    text-align:center;
    margin-bottom:20px;
    color:#333;
}

.form-group{
    margin-bottom:15px;
    margin-right: 30px;

}

.form-group label{
    display:block;
    font-weight:600;
    margin-bottom:5px;
    color:#444;
}

.form-group input{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;
    outline:none;
    font-size:14px;
}

.form-group input:focus{
    border-color:#6a11cb;
    box-shadow:0 0 0 2px rgba(106,17,203,0.2);
}

.btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    background:linear-gradient(135deg,#6a11cb,#2575fc);
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.btn:hover{
    opacity:0.9;
}

.back-btn{
    display:block;
    text-align:center;
    margin-top:12px;
    text-decoration:none;
    color:#555;
    font-size:14px;
}

.back-btn:hover{
    text-decoration:underline;
}

.success{
    background:#e8fff1;
    color:#1a7f37;
    padding:10px;
    border-radius:8px;
    text-align:center;
    margin-bottom:15px;
}

/* Mobile Responsive */
@media(max-width:480px){
    .card{
        padding:20px;
    }
}
@media(max-width:360px){
    .card h2{
        font-size:20px;
    }
}
/* ---------- Login Page Style ---------- */

.login-card{
    animation: fadeIn 0.6s ease-in-out;
}

.subtitle{
    text-align:center;
    color:#666;
    margin-bottom:20px;
    font-size:14px;
}

.error{
    background:#ffecec;
    color:#d8000c;
    padding:10px;
    border-radius:8px;
    text-align:center;
    margin-bottom:15px;
}

.links{
    margin-top:15px;
    text-align:center;
}

.links a{
    display:block;
    margin-top:6px;
    color:#555;
    font-size:14px;
    text-decoration:none;
}

.links a:hover{
    text-decoration:underline;
}

/* Fade animation */
@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
/* ---------- Admin Members Page ---------- */

.container-fluid{
    padding:20px;
    max-width:1000px;
    margin:auto;

}
.card-fluid
{
    background:#fff;
    padding:30px;
    border-radius:14px;
    box-shadow:0 15px 40px rgba(0,0,0,0.2);
}
.header-flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.btn.small{
    padding:8px 14px;
    font-size:14px;
}

.table-responsive{
    overflow-x:auto;
}

.styled-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

.styled-table th,
.styled-table td{
    padding:12px 10px;
    text-align:left;
    border-bottom:1px solid #eee;
    font-size:14px;
}

.styled-table thead{
    background:#f4f6fb;
}

.styled-table tr:hover{
    background:#fafafa;
}

.badge{
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

.badge.success{
    background:#e8fff1;
    color:#1a7f37;
}

.badge.warning{
    background:#fff4e5;
    color:#b45309;
}

.actions{
    white-space:nowrap;
}

.action-btn{
    display:inline-block;
    padding:6px 10px;
    margin:2px;
    border-radius:6px;
    font-size:13px;
    text-decoration:none;
    color:#fff;
}

.action-btn.approve{
    background:#16a34a;
}

.action-btn.edit{
    background:#2563eb;
}

.action-btn.delete{
    background:#dc2626;
}

.action-btn:hover{
    opacity:0.9;
}

.back-link{
    margin-top:15px;
}

.back-link a{
    text-decoration:none;
    color:#555;
    font-size:14px;
}

/* Mobile */
@media(max-width:600px){
    .header-flex{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }
}
@media(max-width:480px){
    .styled-table th,
    .styled-table td{
        font-size:12px;
        padding:8px 6px;
    }
}
/* ---------- General ---------- */


.container-member{
    max-width:1200px;
    margin:20px auto;
    padding:0 20px;
    background-color: rgb(249, 248, 248);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    
}

/* ---------- Header ---------- */
.header-flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.header-flex h1{
    font-size:28px;
    font-weight:700;
}

.btn.small{
    padding:10px 18px;
    font-size:14px;
    border-radius:8px;
    background:linear-gradient(135deg,#6a11cb,#2575fc);
    color:#fff;
    text-decoration:none;
    transition:0.3s;
}

.btn.small:hover{
    opacity:0.9;
}
/* ---------- Admin Panel Layout ---------- */
.admin-panel {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: #1f2937;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 25px 20px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.sidebar-menu li a:hover {
    background: #374151;
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 25px 30px;
    background: #f5f6fa;
}

/* Header inside main content */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

/* Stats Cards */
.stats-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Cards */
.card-stat {
    flex: 1;
    min-width: 220px;
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
}

.card-stat h3 { margin-bottom: 10px; font-size: 16px; font-weight: 600; color: #555; }
.card-stat p { font-size: 28px; font-weight: 700; color: #111; }
.card-stat.success { background: #e8fff1; color: #1a7f37; }
.card-stat.warning { background: #fff4e5; color: #b45309; }
.card-stat:hover { transform: translateY(-4px); box-shadow:0 10px 25px rgba(0,0,0,0.12); }

/* Tables */
.card-recent {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin: 20px 0 20px 0;
    width: 1200px;
}
.bg-table {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.card h3 { margin-bottom: 20px; font-size: 18px; font-weight: 600; color: #111; }
.table-responsive { overflow-x:auto; }
.styled-table { width: 100%; border-collapse: collapse; }
.styled-table th, .styled-table td { padding: 12px 15px; font-size: 14px; border-bottom: 1px solid #eee; text-align:left; }
.styled-table thead th { background: #1d46ac; font-weight: 600; }
.styled-table tr:hover { background: #f9f9f9; }

/* Badges */
.badge { padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge.success { background: #e8fff1; color: #1a7f37; }
.badge.warning { background: #fff4e5; color: #b45309; }

/* Mobile Responsive */
@media(max-width: 992px){
    .admin-panel { flex-direction: column; }
    .sidebar { width: 100%; flex-direction: row; overflow-x: auto; }
    .sidebar-menu { display: flex; flex-direction: row; flex-wrap: nowrap; }
    .sidebar-menu li { border-bottom: none; border-right:1px solid rgba(255,255,255,0.1); }
    .main-content { padding: 20px; }
    .stats-cards { flex-direction: column; }
}

/* ---------- Invoices Page ---------- */
/* Sidebar Active Link */
.sidebar-menu li a.active {
    background: #374151;
    font-weight: 600;
}

/* Table specific styling for invoices */
.styled-table img {
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Amount column right align */
.styled-table td:nth-child(5) {
    text-align: right;
}

/* Responsive adjustments */
@media(max-width: 992px){
    .styled-table th, .styled-table td { font-size: 13px; padding: 10px; }
    .styled-table td img { width: 40px; }
}
.card-invoices {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin: 20px 0 20px 0;
}

/* ---------- Send Email Page ---------- */
.action-btn.email {
    background: linear-gradient(135deg,#ff8a00,#e52e71);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    margin-left: 5px;
    transition: 0.3s;
}

.action-btn.email:hover {
    opacity: 0.85;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 600;
    font-size: 14px;
}

.alert.success {
    background: #e8fff1;
    color: #1a7f37;
}

.alert.error {
    background: #fff4e5;
    color: #b45309
}
body{margin:0;font-family:Segoe UI}
header{color:#fff;padding:20px}
.header-inner{text-align:center;position:relative}
.logo{max-height:70px}
.menu-btn{position:absolute;right:10px;top:10px}
#menu{display:flex;justify-content:center;gap:15px}
#menu a{color:#fff;text-decoration:none}
footer{text-align:center;padding:20px;background:#222;color:#fff}
.hero img{width:100%;display:none}
.site-header{color:#fff;}
.header-inner{
 display:flex;
 justify-content:space-between;
 align-items:center;
 max-width:1200px;
 margin:auto;
}
.logo{height:60px}
.menu-btn{
 font-size:26px;
 background:none;
 border:none;
 color:#fff;
 display:none;
}
.menu{
 display:flex;
 gap:20px;
 list-style:none;
}
.menu a{
 color:#fff;
 text-decoration:none;
 padding:8px;
}
@media(max-width:768px){
 .menu{display:none;flex-direction:column;background:#000}
 .menu.open{display:flex}
 .menu-btn{display:block}
}
/*dashboard UI Accounting page styles */
.admin-panel {
    display: flex;
    min-height: 100vh;
}
form input,form select{padding:6px;margin:5px;}
button{padding:8px 15px;background:#007bff;color:#fff;border:none;cursor:pointer;}
table{border-collapse:collapse;width:100%;margin-top:20px;}
th,td{border:1px solid #ccc;padding:8px;text-align:center;}
th{background:#343a40;color:#fff;}
.income{color:green;font-weight:bold;}
.expense{color:red;font-weight:bold;}
.balance{font-weight:bold;}
/*end of dashboard UI Accounting page styles */