/**
 * RF Merk Editor - Admin Styles
 * Backend styling voor bulk actions, modals, en admin interface
 */

/* ========================================
   Brand Selection Interface
   ======================================== */

.rf-brand-selection {
    margin-bottom: 2rem;
}

.rf-brand-selection h3 {
    margin-bottom: 1rem;
}

.rf-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.rf-brand-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fff;
}

.rf-brand-card h4 {
    margin-top: 0;
}

.rf-brand-card p {
    margin: 0.5rem 0;
}

.rf-brand-card .actions {
    margin-top: 1rem;
}

.rf-brand-card .btn-edit {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
}

.rf-brand-card .btn-view {
    display: inline-block;
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

/* ========================================
   Modal Styles
   ======================================== */

.rf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.rf-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 50%;
}

.rf-modal-close:hover {
    color: #d63638;
    background-color: #f0f0f0;
}

.rf-modal h2 {
    margin-top: 0;
    padding-right: 30px;
}

.rf-modal input[type="email"],
.rf-modal input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.rf-modal .form-actions {
    margin-top: 20px;
    text-align: right;
}

.rf-modal .btn-cancel {
    padding: 8px 16px;
    background: #ddd;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.rf-modal .btn-submit {
    padding: 8px 16px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ========================================
   Concept Status Messages
   ======================================== */

.rf-concept-status {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.rf-concept-status .status-content {
    padding: 1rem;
}

.rf-concept-status.rf-concept-pending .status-content {
    background-color: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.rf-concept-status.rf-concept-approved .status-content {
    background-color: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.rf-concept-status.rf-concept-rejected .status-content {
    background-color: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.rf-concept-status small {
    display: block;
    margin-top: 0.5rem;
}

/* ========================================
   Navigation Box
   ======================================== */

.rf-navigation-box {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f0f8ff;
    border-radius: 8px;
}

.rf-navigation-box h4 {
    margin-top: 0;
}

.rf-navigation-box a {
    color: #0073aa;
}

/* ========================================
   Preview Button
   ======================================== */

.rf-preview-button {
    margin-bottom: 1.5rem;
}

.rf-preview-button a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

/* ========================================
   Login Form & No Brands Message
   ======================================== */

.rf-login-form,
.rf-no-brands-message {
    max-width: 600px;
    margin: 2rem auto;
}

.rf-login-form .gform_description,
.rf-no-brands-message .gform_description {
    margin-bottom: 1.5rem;
}

.rf-login-form .gform_footer,
.rf-no-brands-message .gform_footer {
    margin-top: 1rem;
}
