.admin-card{

display:flex;

align-items:center;

justify-content:space-between;

padding:20px;

margin-bottom:20px;

border-radius:12px;

border:1px solid #DDD;

background:#FFF;

box-shadow:0 2px 8px rgba(0,0,0,.05);

}

.restaurant-logo{

width:90px;

height:90px;

border-radius:50%;

object-fit:cover;

}

.restaurant-logo-placeholder{

width:90px;

height:90px;

display:flex;

align-items:center;

justify-content:center;

font-size:40px;

background:#eee;

border-radius:50%;

}

.admin-card-center{

flex:1;

padding:0 25px;

}

.admin-card-right{

text-align:right;

}

.btn{

display:inline-block;

padding:10px 18px;

background:#3498db;

color:#fff;

text-decoration:none;

border-radius:6px;

}

.btn-success{

display:inline-block;

padding:10px 18px;

background:#2ecc71;

color:#fff;

text-decoration:none;

border-radius:6px;

}

.btn-danger{

display:inline-block;

padding:10px 18px;

background:#e74c3c;

color:#fff;

text-decoration:none;

border-radius:6px;

}

.status-green{

color:#27ae60;

font-weight:bold;

}

.status-red{

color:#c0392b;

font-weight:bold;

}

.status-yellow{

color:#f39c12;

font-weight:bold;

}

/* =========================================================
   DASHBOARD ADMINISTRATIVO
========================================================= */

.admin-dashboard {
    width: 100%;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.admin-header {
    margin-bottom: 30px;
}

.admin-header h1 {
    margin: 0 0 8px;

    font-size: 32px;

    color: #222;
}

.admin-header p {
    margin: 0;

    color: #666;

    font-size: 15px;
}


/* =========================================================
   INDICADORES
========================================================= */

.admin-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 35px;
}


.admin-stat-card {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;

    padding: 20px;

    background: #fff;

    border: 1px solid #eee;

    border-radius: 16px;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .07);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.admin-stat-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .11);
}


.admin-stat-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 50px;

    height: 50px;

    flex-shrink: 0;

    border-radius: 14px;

    background: #fff0f0;

    font-size: 25px;
}


.admin-stat-content {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.admin-stat-content span {
    margin-bottom: 5px;

    color: #777;

    font-size: 13px;
}


.admin-stat-content strong {
    color: #222;

    font-size: 25px;

    line-height: 1.1;
}


/* =========================================================
   ALERTAS DOS INDICADORES
========================================================= */

.admin-stat-warning {
    border-left: 4px solid #f9a825;
}


.admin-stat-danger {
    border-left: 4px solid #e53935;
}


/* =========================================================
   SEÇÕES
========================================================= */

.admin-section {
    margin-bottom: 35px;
}


.admin-section-header {
    margin-bottom: 20px;
}


.admin-section-header h2 {
    margin: 0 0 5px;

    font-size: 23px;

    color: #222;
}


.admin-section-header p {
    margin: 0;

    color: #777;

    font-size: 14px;
}


/* =========================================================
   MENU DE GESTÃO
========================================================= */

.admin-management-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.admin-management-card {
    display: flex;

    flex-direction: column;

    padding: 24px;

    background: #fff;

    border: 1px solid #eee;

    border-radius: 16px;

    text-decoration: none;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .06);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


.admin-management-card:hover {
    transform: translateY(-4px);

    border-color: #e53935;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, .11);
}


.admin-management-icon {
    margin-bottom: 15px;

    font-size: 32px;
}


.admin-management-card strong {
    margin-bottom: 7px;

    color: #222;

    font-size: 18px;
}


.admin-management-card small {
    color: #777;

    line-height: 1.5;
}


/* =========================================================
   ALERTAS ADMINISTRATIVOS
========================================================= */

.admin-alerts {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.admin-alert {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    background: #fff;

    border: 1px solid #eee;

    border-radius: 14px;

    text-decoration: none;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .05);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.admin-alert:hover {
    border-color: #e53935;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, .08);
}


.admin-alert > span {
    font-size: 28px;
}


.admin-alert div {
    display: flex;

    flex-direction: column;
}


.admin-alert strong {
    margin-bottom: 4px;

    color: #222;
}


.admin-alert small {
    color: #777;
}


/* =========================================================
   RESPONSIVO - TABLET
========================================================= */

@media screen and (max-width: 1100px) {

    .admin-stats {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .admin-management-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   RESPONSIVO - MOBILE
========================================================= */

@media screen and (max-width: 700px) {

    .admin-stats {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .admin-management-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .admin-alerts {

        grid-template-columns: 1fr;

    }


    .admin-header h1 {

        font-size: 27px;

    }


    .admin-stat-card {

        padding: 17px;

    }

}

/* =========================================================
   DETALHES DO RESTAURANTE
========================================================= */

.admin-restaurant-page {
    width: 100%;
}


.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}


.admin-page-header h1 {
    margin: 8px 0 5px;
    font-size: 32px;
    color: #222;
}


.admin-page-header p {
    margin: 0;
    color: #777;
}


.admin-back-link {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}


.admin-back-link:hover {
    text-decoration: underline;
}


.admin-status {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 30px;
    background: #f5f5f5;
}


.admin-detail-card {
    margin-bottom: 25px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}


.admin-detail-card h2 {
    margin: 0 0 22px;
    color: #222;
    font-size: 21px;
}


.admin-detail-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}


.admin-detail-brand h2 {
    margin: 0 0 5px;
    font-size: 26px;
}


.admin-detail-brand p {
    margin: 0 0 7px;
    color: #e53935;
    font-weight: 600;
}


.admin-detail-brand small {
    color: #888;
}


.admin-detail-logo,
.admin-detail-logo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 16px;
}


.admin-detail-logo {
    display: block;
    object-fit: cover;
}


.admin-detail-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    font-size: 48px;
}


.admin-detail-banner {
    margin-top: 25px;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
}


.admin-detail-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


.admin-detail-item {
    padding: 15px;
    background: #f8f8f8;
    border-radius: 10px;
}


.admin-detail-item span {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #777;
}


.admin-detail-item strong {
    color: #222;
    font-size: 15px;
}


.admin-detail-description {
    margin-top: 20px;
    padding: 18px;
    background: #f8f8f8;
    border-radius: 10px;
}


.admin-detail-description > span {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #777;
}


.admin-detail-description p {
    margin: 0;
    line-height: 1.6;
    color: #444;
}


.admin-owner {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}


.admin-owner-photo,
.admin-owner-photo-placeholder {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
}


.admin-owner-photo {
    display: block;
    object-fit: cover;
}


.admin-owner-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    font-size: 50px;
}


.admin-owner-info {
    flex: 1;
}


.admin-owner-info h3 {
    margin: 0 0 20px;
    font-size: 22px;
    color: #222;
}


.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


@media screen and (max-width: 768px) {

    .admin-page-header {
        flex-direction: column;
    }


    .admin-detail-grid {
        grid-template-columns: 1fr;
    }


    .admin-owner {
        flex-direction: column;
    }


    .admin-detail-banner {
        height: 170px;
    }

}


@media screen and (max-width: 480px) {

    .admin-detail-card {
        padding: 18px;
    }


    .admin-detail-brand {
        align-items: flex-start;
    }


    .admin-detail-logo,
    .admin-detail-logo-placeholder {
        width: 80px;
        height: 80px;
    }


    .admin-detail-brand h2 {
        font-size: 21px;
    }

}