@font-face {
    font-family: 'Objectivity';
    src: url('/static/fonts/objectivity.regular.ttf') format('truetype');
    font-weight: 400; /* 400 steht für "Normal" */
    font-style: normal;
}

/* BACKGROUND GALAXY */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: url("/static/images/background.png") no-repeat center top fixed;
    background-size: cover;
    font-family: "Objectivity", sans-serif;
    color: white;
}

input, 
button, 
select, 
textarea,
.form-control, 
.btn-login {
    font-family: "Objectivity", sans-serif !important;
}

/* WRAPPER */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
#sidebar {
    width: 250px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sidebar-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

ul.components {
    list-style: none;
    padding: 20px 0 0 0;
}

ul.components li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: 0.2s;
}

ul.components li a:hover {
    background: rgba(255,255,255,0.15);
    border-left: 3px solid #00A8FF;
}

/* Sidebar footer */
.sidebar-bottom {
    position: absolute;
    bottom: 20px;
    width: 100%;
    padding: 0 20px;
}

.sidebar-section {
    text-transform: uppercase;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.sidebar-user,
.sidebar-link {
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
    color: white;
    opacity: 0.9;
}

.powered-by {
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.7;
}

.powered-logo {
    width: 80px;
    margin-top: 5px;
    opacity: 0.8;
}

/* CONTENT */
#content {
    flex: 1;
    margin-left: 250px;
    padding: 40px;
}

/* Collapse button */
.collapse-btn {
    background: rgba(0,0,0,0.6);
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    color: white;
    margin-bottom: 20px;
}

/* INVESTMENT GLASS PANEL */
/* --- FIX: Suchfeld in Investoren/Investments kompakter --- */
.inv-container .card {
    padding: 5px !important;
}

.inv-container .card-body {
    padding: 8px 15px !important;
}



/* Abstand unter der Suchbox verringern */
.inv-container .form-row {
    margin-bottom: 8px !important;
}


/* TABLE */
table {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
}

table th {
    background: rgba(255,255,255,0.12);
    padding: 14px;
}

table td {
    background: rgba(255,255,255,0.04);
    padding: 14px;
}

/* INPUTS */
input, select, textarea {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: white !important;
    border-radius: 8px !important;
}

button, .btn {
    background: #00A8FF;
    border-radius: 8px;
    border: none;
    color: white;
}

button:hover, .btn:hover {
    background: #0077CC;
}
