/* Custom enhancements for Grras Workshop Frontend Manager (Tabler UI) */

.gwm-manager-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Custom alignment for search bar */
.gwm-search-wrapper {
    max-width: 300px;
}

/* Thumbnail preview styling */
.gwm-thumb-preview {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* Form container and labels */
.gwm-form-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.gwm-required::after {
    content: " *";
    color: #ef4444;
    font-weight: bold;
}

/* Featured Image Uploader Styling */
.gwm-image-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    background-color: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.gwm-image-upload-box:hover {
    border-color: #6366f1;
    background-color: #f1f5f9;
}

.gwm-image-upload-box svg {
    color: #94a3b8;
    margin-bottom: 8px;
}

/* Access Denied styling */
.gwm-access-denied-container {
    max-width: 480px;
    margin: 60px auto;
    padding: 15px;
}

.gwm-access-denied-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.gwm-access-denied-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #fee2e2;
    color: #ef4444;
    border-radius: 50%;
    margin-bottom: 24px;
}

.gwm-access-denied-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.gwm-access-denied-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.5;
}

.gwm-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: opacity 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.gwm-login-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Badge alignments */
.gwm-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Modal and layout fixes */
.gwm-table td {
    vertical-align: middle;
}

.gwm-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.gwm-textarea {
    min-height: 120px;
    resize: vertical;
}
