﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6f9;
    color: #263238;
}

header {
    background: #172b4d;
    color: white;
    padding: 35px 8%;
}

    header h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    header p {
        color: #b9c6d8;
    }

.container {
    width: 85%;
    max-width: 1200px;
    margin: 40px auto;
}

.summary {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.summary-card {
    background: white;
    padding: 22px;
    border-radius: 10px;
    flex: 1;
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
}

    .summary-card h2 {
        font-size: 28px;
        color: #172b4d;
    }

    .summary-card p {
        color: #7b8794;
        margin-top: 5px;
    }

.controller {
    background: white;
    margin-bottom: 28px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
}

.controller-header {
    background: #eef2f7;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #e0e5ec;
}

.endpoint {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    gap: 20px;
    border-bottom: 1px solid #edf0f3;
}

    .endpoint:last-child {
        border-bottom: none;
    }

.method {
    min-width: 85px;
    padding: 7px 12px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.GET {
    background: #16a34a;
}

.POST {
    background: #2563eb;
}

.PUT {
    background: #d97706;
}

.DELETE {
    background: #dc2626;
}

.PATCH {
    background: #9333ea;
}

.route {
    flex: 1;
    font-family: Consolas, monospace;
    font-size: 14px;
    overflow-wrap: anywhere;
}

    .route a {
        color: #172b4d;
        text-decoration: none;
    }

        .route a:hover {
            color: #2563eb;
            text-decoration: underline;
        }

.action {
    color: #8898aa;
    font-size: 13px;
}

.empty {
    padding: 30px;
    background: white;
    border-radius: 10px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 30px;
    color: #8898aa;
    font-size: 13px;
}

@@media(max-width: 700px) {

    .container {
        width: 94%;
    }

    .summary {
        flex-direction: column;
    }

    .endpoint {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
