body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f3f4f6;
    color:#111827;
}

/* HEADER */
.header{
    background:#111827;
    color:white;
    padding:20px 25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:4px solid #2563eb;
}

.header-left h1{
    margin:0;
    color:#60a5fa;
    font-size:30px;
}

.header-left p{
    margin-top:6px;
    color:#d1d5db;
    font-size:14px;
}

/* ACTION BUTTONS */
.actions{
    display:flex;
    gap:10px;
}

.hero-img {
    width: 100%;
    max-width: 900px;   /* limits huge images */
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.action-btn{
    background:#2563eb;
    color:white;
    border:none;
    padding:10px 14px;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
    transition:0.2s;
}

.action-btn:hover{
    background:#1d4ed8;
}

/* PAGE CONTAINER */
.container{
    width:95%;
    max-width:1300px;
    margin:auto;
    padding:25px 0;
}

/* CONTENT CARD */
.card{
    background:white;
    border-radius:10px;
    padding:25px;
    margin-bottom:25px;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.card h2{
    margin-top:0;
    color:#2563eb;
    border-bottom:2px solid #e5e7eb;
    padding-bottom:10px;
}

/* TABLE */
table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
}

th{
    background:#2563eb;
    color:white;
    padding:12px;
    text-align:left;
}

td{
    border:1px solid #d1d5db;
    padding:12px;
    vertical-align:top;
}

/* CODE BLOCK */
.code-block{
    background:#111827;
    color:#e5e7eb;
    padding:18px;
    border-radius:8px;
    overflow-x:auto;
    margin-top:15px;
}

.code-block pre{
    margin:0;
    white-space:pre-wrap;
    line-height:1.7;
    font-size:14px;
}

/* LIST */
ul{
    line-height:1.8;
}

/* HIGHLIGHT */
.highlight{
    background:#eff6ff;
    border-left:5px solid #2563eb;
    padding:15px;
    border-radius:6px;
    margin-top:15px;
}

/* FOOTER */
.footer{
    text-align:center;
    padding:20px;
    color:#6b7280;
    font-size:14px;
}

/* RESOURCE BUTTONS */
.resource-links{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top:15px;
}

.resource-btn{
    text-decoration:none;
    background:#2563eb;
    color:white;
    padding:12px 18px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s;
}

.resource-btn:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

/* RESPONSIVE */
@media(max-width:768px){

    .header{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .actions{
        width:100%;
    }

    .action-btn{
        flex:1;
    }
}
/* ===============================
   LEGACY SUPPORT (Docker old UI)
   Converts old layout to Git-style cards
================================= */

.header{
    background: linear-gradient(135deg, #111827, #2563eb);
    color: white;
    padding: 40px;
    font-size: 38px;
    font-weight: bold;
    border-radius: 12px;
    margin-bottom: 25px;
}

.content{
    max-width: 1100px;
    margin: auto;
}

.section{
    background: white;
    padding: 22px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 5px solid #2563eb;
}

.section h2{
    margin-top: 0;
    color: #1d4ed8;
}

.code{
    background: #111827;
    color: #e5e7eb;
    padding: 18px;
    border-radius: 10px;
    overflow-x: auto;
    margin-top: 15px;
}

.code pre{
    margin: 0;
    line-height: 1.8;
}