/* Amiga Topaz + Dark Mode for Synchronet Webv4 */

@font-face {
    font-family: 'MyCustomFont';
    src: url('../fonts/TopazPlus_a1200_v1.0.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


body {
  font-family: 'MyCustomFont', sans-serif !important;
}


@media (prefers-color-scheme: dark) {
  body {
    background-color: #000000;
    color: #ff8800;
  }
  .recent-visitors table {
    border-color: #000000;
  }

:root {
    --bg-color: #000000;
    --panel-bg: #000000 !important;
    --bs-secondary-bg: #000000 !important;
    --text-color: #00aaaa; /* Classic Amiga Cyan */
    --highlight: #008B8B; /* Bright Cyan */
    --border-color: #000000 !important;
    --link-color: #8B008B;
    --sidebar-bg: #000000 !important;
    --sidebar-text: #006400 !important;
    --forum-bg: #000000;
    --forum-text: #ff8800;
    --file-list-bg: #000000;
    --file-list-text: #ff8800;
}

/* Example to force a background everywhere */
body, .container, .main-content {
    background-color: #000000 !important;
}

body {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    line-height: 1.2;
    cursor: url('../images/amiga.cur'), auto;
}

/* Panels and Containers */
.container, .jumbotron, .card, .panel, .well {
    background-color: var(--panel-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 0px !important; /* Sharp corners for retro look */
    color: var(--text-color) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    color: var(--highlight) !important;
    text-shadow: 1px 1px 0px #005555;
}

a {
    color: var(--link-color) !important;
    text-decoration: none;
}

a:hover {
    color: var(--highlight) !important;
    text-decoration: underline;
}



/* Buttons */
.btn-primary, .btn-default {
    background-color: #000000 !important;
    border: 1px solid var(--highlight) !important;
    color: var(--highlight) !important;
    border-radius: 0px !important;
}

.btn-primary:hover {
    background-color: var(--border-color) !important;
    color: #8B008B !important;
}

/* Specific fixes for tables and forms */
table, td, th {
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

.form-control {
    background-color: #1E1F1F !important;
    border: 1px solid var(--border-color) !important;
    color: var(--highlight) !important;
    border-radius: 0px !important;
}

/* Custom forum Colours */
.forum {
    background-color: #363737; /* Dark background */
    color: #ff8800;            /* White text */
}

.file-list, .panel-body {
    background-color: #000000 !important;
}

body, .container, .panel, .well, div {
    background-color: #000000 !important;
    color: #006400; /* Optional: Sets text to white for contrast */
}

.navbar-default { background-color: #000000 !important; }
.checkbox-default { background-color: #363737 !important; }
.sidebar-user-activity { background-color: #363737 !important; }
.sidebar-class-name { background-color: #000000 !important; }
.navbar-right {  background-color: #000000 !important;}
.navbar .nav-item .dropdown-menu {
    background-color: #000000 !important;
}
.dropdown-item {
    background-color: #000000 !important;
}
.sysop-info {
    background-color: #363737 !important;

}

.navbar { background-color: #000000 !important; }
#sidebar-wrapper {
    background-color: #000000 !important;
}

#header .navbar-secondary {
    background-color: #000000 !important;
}


/* Remove all white from Synchronet webv4 */
body, 
.navbar, 
.panel, 
.list-group-item, 
.table,
#contents,
div {
    background-color: #363737 !important;
    background: #000000 !important;
    color: #8B008B !important; 
    border-color: #333333 !important;
}
/* above colour is the recent visitors panel so dark magenta 8B008B
/* Ensure text in inputs and form fields is visible */
input, select, textarea {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

/* Fix specific table row colors */
tr, td, th {
    background-color: #000000 !important;
    color: #228B22 !important;  /* this is the status and system info colours current is forest green

}

/* Dropdown Menu Background */
.navbar-nav .dropdown-menu {
    background-color: #000000 !important; /* Change to your desired color */
    border: 1px solid #363737 !important; /* Optional: border color */
}

/* Dropdown Menu Items Text */
.navbar-nav .dropdown-menu a {
    color: #228B22 !important; /* Text color */
}

/* Dropdown Menu Items on Hover */
.navbar-nav .dropdown-menu a:hover {
    background-color: #363737 !important; /* Hover background color */
    color: #6688BB !important; /* Hover text color */
}

/* Remove borders from the sidebar and its containers */
#sidebar-wrapper {
    border: none !important;
    box-shadow: none !important;
}

.sidebar-nav {
    border-right: 0 !important;
}


