/* ================================
   DJANGO ADMIN – SAP STYLE UNIFIED
   ================================ */

/* RESET & BASE */
body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    background: #f5f6f8;
}

/* ================================
   HEADER
   ================================ */

#header {
    background: linear-gradient(to right, #0074bc, #c71f3a);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}

#branding h1 {
    color: white;
    font-weight: 400;
    font-size: 18px;
}

#user-tools {
    margin-left: auto;
}

#user-tools,
#user-tools a {
    color: white;
}

/* ================================
   LAYOUT FIX
   ================================ */

#container {
    display: flex;
}

/* ================================
   SIDEBAR
   ================================ */

/* ================================
   CONTENT AREA
   ================================ */

#content {
    flex: 1;
    padding: 30px;
    background: #f5f6f8;
}

.breadcrumbs {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

/* ================================
   MODULE BOXES
   ================================ */

.module {
    background: white;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    padding: 20px;
}

/* ================================
   TABLES
   ================================ */

#changelist table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

#changelist thead {
    background: #f4f4f4;
}

#changelist th {
    padding: 12px;
    font-weight: 600;
    font-size: 13px;
}

#changelist td {
    padding: 12px;
    border-top: 1px solid #eee;
}

#changelist tbody tr:hover {
    background-color: #f2f6fa;
}

/* ================================
   FORMS
   ================================ */

input, select, textarea {
    border-radius: 4px !important;
    border: 1px solid #ddd !important;
    padding: 6px 8px !important;
}

input:focus, select:focus, textarea:focus {
    border-color: #0074bc !important;
    box-shadow: 0 0 0 2px rgba(0,116,188,.2);
    outline: none;
}

/* ================================
   BUTTONS
   ================================ */

.button,
input[type=submit],
input[type=button],
.submit-row input {
    background: #0074bc !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    color: white !important;
    transition: .2s ease;
}

.button:hover,
input[type=submit]:hover {
    background: #005f99 !important;
}

/* Delete button */
.deletelink {
    background: #c71f3a !important;
    color: white !important;
    border-radius: 4px;
    padding: 6px 12px;
}

/* ================================
   LOGIN PAGE
   ================================ */

.login #container {
    display: block;
}

.login #content {
    margin: 80px auto;
    max-width: 400px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
