/* themes/default/css/style.css
	ZPanel Default theme stylesheet
	Revision 1 [9-12-2025]
	Zee ^_~
*/

body {
    background-color: #1e1e2f;
    color: #eaeaea;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar / Sidebar */
.navbar,
.sidebar {
    background-color: #2a2a3d;
}

.navbar a,
.sidebar a {
    color: #eaeaea;
}

.navbar a:hover,
.sidebar a:hover {
    color: #00bcd4;
    text-decoration: none;
}

/* Cards */
.card {
    background-color: #2a2a3d;
    color: #eaeaea;
    border: none;
    border-radius: 0.75rem;
}

.card-header {
    background-color: #3a3a4d;
    border-bottom: 1px solid #444;
}

/* === TABLES === */
.table {
    background-color: #2a2a3d;
    color: #eaeaea;
    border-collapse: separate;
    border-spacing: 0;
}

/* Override Bootstrap's .table-light thead */
.table thead.table-light,
.table thead th {
    background-color: #3a3a4d;
    color: #eaeaea;
    border-bottom: 1px solid #444;
    font-weight: 600;
}

/* Table body rows */
.table tbody tr {
    background-color: #2a2a3d;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #252536;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 188, 212, 0.08);
}

/* Table cells */
.table td,
.table th {
    border-top: 1px solid #3a3a4d;
    vertical-align: middle;
}

/* Make table links visible */
.table a {
    color: #00bcd4;
}

/* action buttons inside table adjustments */
.table .btn {
    padding: .35rem .6rem;
    font-size: .85rem;
    border-radius: .45rem;
    border: none;
}

/* === Action Buttons in Tables accents === */
.table .btn-view {
    background-color: #2196f3;
    color: #fff;
}
.table .btn-view:hover {
    background-color: #1976d2;
}

.table .btn-edit {
    background-color: #009688;
    color: #fff;
}
.table .btn-edit:hover {
    background-color: #00796b;
}

.table .btn-delete {
    background-color: #f44336;
    color: #fff;
}
.table .btn-delete:hover {
    background-color: #d32f2f;
}

.table .btn-settings {
    background-color: #ff9800;
    color: #fff;
}
.table .btn-settings:hover {
    background-color: #ef6c00;
}

/* Buttons (global) */
.btn {
    border-radius: 0.5rem;
}

.btn-primary {
    background-color: #00bcd4;
    border-color: #00acc1;
}

.btn-primary:hover {
    background-color: #0097a7;
    border-color: #00838f;
}

.btn-info {
    background-color: #2196f3;
    border-color: #1976d2;
}

.btn-info:hover {
    background-color: #1976d2;
    border-color: #1565c0;
}

.btn-danger {
    background-color: #f44336;
    border-color: #d32f2f;
}

.btn-danger:hover {
    background-color: #d32f2f;
    border-color: #b71c1c;
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
}

/* Form Controls */
.form-control {
    background-color: #2a2a3d;
    color: #eaeaea;
    border: 1px solid #444;
}

.form-control:focus {
    background-color: #2a2a3d;
    color: #fff;
    border-color: #00bcd4;
    box-shadow: none;
}

/* Footer */
.footer {
    background-color: #2a2a3d;
    color: #aaa;
    padding: 1rem 0;
    text-align: center;
    margin-top: 2rem;
}

/* Navbar alignment helpers */
.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

/* Dropdown menu override */
.dropdown-menu {
    background-color: #2a2a3d;
    border: 1px solid #444;
    border-radius: 0.5rem;
    padding: 0.25rem 0;
    min-width: 10rem;
    box-shadow: none;
}

.dropdown-menu .dropdown-item {
    color: #eaeaea;
    padding: 0.5rem 1rem;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: rgba(0, 188, 212, 0.12);
    color: #00bcd4;
}

/* Optional: subtle divider style for | separators */
.navbar .nav-link.separator {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

/* Table responsiveness: keep look inside cards */
.card .table-responsive {
    background: transparent;
}

/* Ensure table inside card keeps rounded corners */
.card .table-responsive > .table {
    margin-bottom: 0;
}

/* Small screens: tighten up paddings for compactness */
@media (max-width: 576px) {
    .table .btn {
        padding: .25rem .45rem;
        font-size: .8rem;
    }
}

/* === Modal Overrides === */
.modal-content {
    background-color: #2a2a3d;  /* same as cards */
    color: #eaeaea;
    border: none;
    border-radius: 0.75rem;
}

.modal-header,
.modal-footer {
    border-color: #3a3a4d;
}

.modal-title {
    color: #eaeaea;
}

.modal-body {
    color: #eaeaea;
}

.btn-close {
    filter: invert(1); /* make the close (x) visible */
}
/* resendve module textbox placeholder */
#username_or_email::placeholder {
    color: rgba(0, 0, 0, 0.5); /* Bootstrap's .text-black-50 equivalent */
}