/* Admin Menu Customization */
#adminmenu .toplevel_page_edit-posts div.wp-menu-image:before,
#adminmenu .toplevel_page_upload div.wp-menu-image:before,
#adminmenu .toplevel_page_profile div.wp-menu-image:before {
    font-family: dashicons;
    font-size: 20px;
    line-height: 1;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Vendor Dashboard Styles */
.vms-establishments {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.vms-establishments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.vms-establishments-header h2 {
    font-size: 24px;
    color: #1d2327;
    margin: 0;
}

.vms-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #2271b1;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.vms-button:hover {
    background-color: #135e96;
    color: white;
}

.vms-button i {
    margin-right: 8px;
}

.vms-button.small {
    padding: 5px 10px;
    font-size: 13px;
}

.vms-button.danger {
    background-color: #d63638;
}

.vms-button.danger:hover {
    background-color: #b32d2e;
}

.vms-establishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.vms-establishment-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
}

.vms-establishment-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.vms-establishment-image {
    height: 180px;
    overflow: hidden;
}

.vms-establishment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.vms-establishment-card:hover .vms-establishment-image img {
    transform: scale(1.05);
}

.vms-establishment-content {
    padding: 15px;
}

.vms-establishment-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #1d2327;
}

.vms-establishment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
    color: #646970;
}

.vms-establishment-status {
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
}

.vms-establishment-status.publish {
    background-color: #d1e7dd;
    color: #0f5132;
}

.vms-establishment-status.draft {
    background-color: #fff3cd;
    color: #664d03;
}

.vms-establishment-status.pending {
    background-color: #cfe2ff;
    color: #084298;
}

.vms-establishment-actions {
    display: flex;
    gap: 10px;
}

.vms-no-establishments {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.vms-no-establishments p {
    margin: 0;
    color: #646970;
}

.vms-no-establishments a {
    color: #2271b1;
    text-decoration: none;
}

.vms-no-establishments a:hover {
    text-decoration: underline;
}

.vms-message {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}