/* =============================== */
/* DemoBank Global Styles          */
/* =============================== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f6f8;
    color: #333;
}

/* =============================== */
/* GLOBAL CONTAINER                */
/* =============================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* =============================== */
/* HEADINGS                        */
/* =============================== */
h1, h2, h3, h4, h5, h6 {
    color: #004080;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

/* =============================== */
/* LINKS                            */
/* =============================== */
a {
    color: #004080;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0066cc;
}

/* =============================== */
/* BUTTONS                          */
/* =============================== */
.btn {
    display: inline-block;
    padding: 10px 16px;
    background-color: #004080;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0066cc;
}

.btn-danger {
    background-color: #cc0000;
}

.btn-danger:hover {
    background-color: #e60000;
}

.btn-success {
    background-color: #1e7d32;
}

.btn-success:hover {
    background-color: #28a745;
}

/* =============================== */
/* FORMS                            */
/* =============================== */
input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

label {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
}

/* =============================== */
/* TABLES                           */
/* =============================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

table th {
    background-color: #f0f4f8;
    color: #333;
    font-weight: 600;
}

table tr:hover {
    background-color: #f9fbff;
}

/* =============================== */
/* CARDS / BOXES                    */
/* =============================== */
.card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card h2 {
    margin-top: 0;
    font-size: 18px;
    color: #004080;
}

/* =============================== */
/* BADGES                           */
/* =============================== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge-active {
    background-color: #e6f7ee;
    color: #1e7d32;
}

.badge-suspended {
    background-color: #ffeaea;
    color: #cc0000;
}

.badge-pending {
    background-color: #fff4e5;
    color: #cc7a00;
}

/* =============================== */
/* MESSAGES                         */
/* =============================== */
.error-message {
    color: #ff0000;
    font-size: 13px;
    margin-bottom: 10px;
}

.success-message {
    color: green;
    font-size: 13px;
    margin-bottom: 10px;
}

/* =============================== */
/* NAVBAR / HEADER                  */
/* =============================== */
.navbar {
    height: 60px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .brand {
    font-weight: bold;
    color: #004080;
    font-size: 18px;
}

.navbar .user-info {
    font-size: 14px;
    color: #555;
}

/* =============================== */
/* FOOTER                           */
/* =============================== */
footer.site-footer {
    background-color: #0b2d4d;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

footer.site-footer a {
    color: #fff;
    text-decoration: underline;
}

/* =============================== */
/* SIDEBAR                          */
/* =============================== */
.sidebar {
    width: 240px;
    background-color: #0b2d4d;
    color: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar a:hover {
    background-color: #004080;
}

/* =============================== */
/* RESPONSIVE                       */
/* =============================== */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    .dashboard-main {
        margin-left: 200px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .dashboard-main {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
}
.main-content {
    margin-left: 250px; /* sidebar width */
    padding: 20px;
    min-height: 100vh;
    background: #f5f7fa;
}

.edit-profile-container {
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.edit-profile-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
}

.edit-profile-container label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}