
/* ============================= */
/*   COMPONENTS / DECORATIONS    */
/* ============================= */




/* ============================= */
/*             SIDEBARS          */
/* ============================= */

.sidebar_left {
    background: #354A35;
    padding: 20px;
    display: flex;
    flex-direction: column;
    color: white;
}

.sidebar_right {
    background: #84A7c3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    color: rgb(255, 255, 255);
}

/* ============================= */
/*           MAIN CONTENT        */
/* ============================= */

.main_content {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.main_content h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

.main_content pre {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    color: #333;
    white-space: pre-wrap;
}

/* ============================= */
/*        FORM & CONTAINERS      */
/* ============================= */

.db_container,
.login_container {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin-top: 50px;
    transition: background 0.3s ease, color 0.3s ease;
}

.db_container h2,
.login_container h2 {
    margin-bottom: 25px;
}

/* Inputs */
.login_form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Buttons */
.login_form button,
.db_container .action_buttons button {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: none;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* ============================= */
/*        THEME TOGGLE BTN       */
/* ============================= */

.theme_toggle {
    padding: 8px 15px;
    background: #222;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* ============================= */
/*           RESPONSIVE          */
/* ============================= */

@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .sidebar-left,
    .sidebar-right {
        display: none;
    }
}
