/* ============================================
   inLiker Price Manager – Dark Theme (mirrors order form)
   ============================================ */

.inliker-pm-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 16px;
    color: #ccc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.inliker-pm-heading {
    color: #ddd;
    text-align: center;
    font-size: 18px;
    margin: 0 0 14px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.inliker-pm-section-label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}
.inliker-pm-section-bar {
    display: inline-block;
    width: 14px;
    height: 3px;
    background: #b8860b;
    margin-right: 6px;
    flex-shrink: 0;
    border-radius: 2px;
}

/* Platform Toggle */
.inliker-pm-platform-toggle { display: flex; gap: 6px; margin-bottom: 10px; }
.inliker-pm-platform-btn {
    flex: 1;
    padding: 10px 4px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    color: #aaa;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inliker-pm-platform-btn:hover:not(.active) { background: #333; }
.inliker-pm-platform-btn[data-platform="instagram"].active {
    background: linear-gradient(45deg, #d98229, #cf5033, #c42037, #b31f5b, #a11472);
    border-color: transparent;
    color: #e0e0e0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    box-shadow: 0 2px 10px rgba(199, 55, 155, 0.35);
}
.inliker-pm-platform-btn[data-platform="facebook"].active {
    background: linear-gradient(45deg, #1877f2, #0a5dc2);
    border-color: transparent;
    color: #e0e0e0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    box-shadow: 0 2px 10px rgba(24, 119, 242, 0.35);
}

/* Service Buttons Grid */
.inliker-pm-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 10px; }
.inliker-pm-service-btn {
    padding: 9px 1px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    color: #aaa;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.inliker-pm-service-btn.active { background: #C9A227; border-color: #B8860B; color: #000; box-shadow: 0 0 6px rgba(201,162,39,0.3); }
.inliker-pm-service-btn:hover:not(.active) { background: #333; }

/* Amount Buttons Grid */
.inliker-pm-amounts-grid { display: grid; gap: 4px; margin-bottom: 8px; }
.inliker-pm-amount-btn {
    padding: 10px 2px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #bbb;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: relative;
}
.inliker-pm-amount-btn .amount-label { font-size: 12px; }
.inliker-pm-amount-btn .amount-price { font-size: 11px; color: #4caf50; font-weight: 700; }
.inliker-pm-amount-btn:hover { background: #333; }
.inliker-pm-amount-btn input {
    width: 70px;
    padding: 2px 4px;
    background: #1e1e1e;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

/* Update Button */
.inliker-pm-update-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1976d2, #1565c0);
    border: 2px solid #2196F3;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(25,118,210,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.inliker-pm-update-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    border-color: #42a5f5;
    box-shadow: 0 4px 10px rgba(66,165,245,0.3);
    transform: translateY(-1px);
}
.inliker-pm-update-btn:disabled { opacity: 0.5; cursor: not-allowed; }

#inliker-pm-message { text-align: center; margin-top: 6px; font-size: 12px; font-weight: 600; min-height: 20px; }
#inliker-pm-message.success { color: #4caf50; }
#inliker-pm-message.error   { color: #ff5252; }

@media (max-width: 480px) {
    .inliker-pm-container { padding: 10px; }
}