* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    background-color: #435165;
}
.login {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}
.login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #4c78af;
    color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.login form input[type="submit"] {
    width: 100%;
    padding: 15px;
        margin-top: 20px;
    background-color: #4c78af;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
    background-color: #4c78af;
    transition: background-color 0.2s;
}

.navtopfixed {
    position: fixed;
    height: 80px;
    width: 100%;
    top: 0px;
    left: 0px;
    margin: 0 auto;
    z-index: 100;
}

.navtop {
    background-color: #4c78af;
    height: 40px;
    width: 100%;
    border: 0;
}
.navtop div {
    display: flex;
    margin: 0 auto;
    width: 1200px;
    height: 100%;
}
.navtop div h1, .navtop div a {
    display: inline-flex;
    align-items: center;
}
.navtop div h1 {
    flex: 1;
    font-size: 24px;
    padding: 0 10px;
    margin: 0;
    color: #ffffff;
    font-weight: bold;
}
.navtop div a {
    padding: 0 20px;
    text-decoration: none;
/*    color: #c1c4c8; */
    font-weight: bold;
    z-index: 3;
}
.navtop div a i {
    padding: 2px 8px 0 0;
}
.navtop div a:hover {
    color: #eaebed;
}

.active_link {
    color: #eaebed;
}

.inactive_link {
    color: #c1c4c8;
}


body.loggedin {
    background-color: #f3f4f7;
}
.content {
    width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
}
.content h2 {
    margin: 0;
    padding: 0;
    font-size: 22px;
    border-bottom: 1px solid #e0e0e3;
    color: #4a536e;
}
.content > p, .content > div {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    margin: 25px 0;
    padding: 25px;
    background-color: #fff;
}
.content > p table td, .content > div table td {
    padding: 5px;
}
.content > p table td:first-child, .content > div table td:first-child {
    font-weight: bold;
    color: #4a536e;
    padding-right: 15px;
}
.content > div p {
    padding: 5px;
    margin: 0 0 10px 0;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
th, td {
    padding: 6px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #4c78af;
    color: white;
}
.chart-container {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 400px;
}
#portfolioChart {
    width: 100%;
    height: 360px;
}
.positive { color: green; }
.negative { color: red; }
.system-section {
    margin-bottom: 30px;
}
.system-section h3 {
    background-color: #f0f0f0;
    padding: 10px;
    border-left: 4px solid #4c78af;
    margin: 20px 0 10px 0;
    font-size: 1.1em;
}
.system-table {
    width: 100%;
}

/* ============================================================
   UNUSED STYLES — not referenced in any current PHP/JS file
   ============================================================ */

/* .frmSearch / #country-list / #search-box — search feature (unused) */
/*
.frmSearch {border:1px solid #a8d4b1;background-color: #c6f7d0;margin: 2px 0px;padding:40px;border-radius:4px;}
#country-list{float:left;list-style:none;margin-top:-3px;padding:0;width:190px;position: absolute;}
#country-list li{padding: 10px; background: #f0f0f0; border-bottom: #bbb9b9 1px solid;}
#country-list li:hover{background:#ece3d2;cursor: pointer;}
#search-box{padding: 10px;border: #a8d4b1 1px solid;border-radius:4px;}
*/

/* .spinner — loading spinner (unused) */
/*
.spinner {
   position: relative;
   left: 0%;
   top: 50%;
   height:60px;
   width:60px;
   margin:0px auto;
   -webkit-animation: rotation .6s infinite linear;
   -moz-animation: rotation .6s infinite linear;
   -o-animation: rotation .6s infinite linear;
   animation: rotation .6s infinite linear;
   border-left:6px solid rgba(0,174,239,.15);
   border-right:6px solid rgba(0,174,239,.15);
   border-bottom:6px solid rgba(0,174,239,.15);
   border-top:6px solid rgba(0,174,239,.8);
   border-radius:100%;
}

@-webkit-keyframes rotation {
   from {-webkit-transform: rotate(0deg);}
   to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
   from {-moz-transform: rotate(0deg);}
   to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
   from {-o-transform: rotate(0deg);}
   to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
   from {transform: rotate(0deg);}
   to {transform: rotate(359deg);}
}
*/

/* #options — options table (unused; active table uses #optionsRMultsContainer) */
/*
#options {
    border-collapse: collapse;
    width: 100%;
}

#options td, #options th {
    border: 1px solid #ddd;
    padding: 8px;
}

#options tr {background-color: white;}

#options tr:nth-child(even) {background-color: #f2f2f2;}

#options tr:hover {background-color: #ddd;}

#options th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #2e86c1;
    color: white;
}
*/

