.agent-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.agent-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.agent-page-header h1 {
    margin: 0 0 5px;
    font-size: 30px;
}

.agent-page-header p {
    margin: 0;
    color: #777;
}

.agent-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
}


/* Post banner */

.agent-post-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 16px;
    background: #222;
    color: #fff;
}

.agent-post-banner h2 {
    margin: 0 0 5px;
}

.agent-post-banner p {
    margin: 0;
    opacity: .75;
}

.agent-post-banner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 9px;
    background: #fff;
    color: #222;
    text-decoration: none;
    font-weight: 600;
}


/* Stats */

.agent-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.agent-stat-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
}

.agent-stat-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-stat-card span {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 5px;
}

.agent-stat-card strong {
    font-size: 24px;
}


/* Actions */

.agent-section {
    margin-top: 35px;
}

.agent-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.agent-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.agent-actions a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    color: #222;
    text-decoration: none;
}

.agent-actions i {
    font-size: 18px;
}


/* Mobile */

@media (max-width: 700px) {

    .agent-dashboard {
        padding: 20px 15px 40px;
    }

    .agent-page-header h1 {
        font-size: 24px;
    }

    .agent-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .agent-stat-card {
        padding: 15px;
    }

    .agent-stat-card strong {
        font-size: 21px;
    }

    .agent-post-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .agent-post-banner a {
        width: 100%;
        justify-content: center;
    }

    .agent-actions {
        grid-template-columns: 1fr 1fr;
    }
}