/* ==========================================================================
   Standalone PS.kz Direct Billing Portal Stylesheet
   Path: /ps/style.css
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --ps-blue: #0056b3;
    --ps-blue-light: #007bff;
    --ps-dark: #0f172a;
    --ps-card: #1e293b;
    --ps-border: #334155;
    --ps-text: #f8fafc;
    --ps-muted: #94a3b8;
    --ps-green: #10b981;
    --ps-kaspi: #f14635;
}

body.ps-standalone-body {
    background-color: var(--ps-dark);
    color: var(--ps-text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.ps-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

.ps-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ps-border);
}

.ps-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.ps-brand-badge {
    background: var(--ps-blue);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.ps-hero-section {
    text-align: center;
    margin-bottom: 40px;
}

.ps-hero-section h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #fff;
}

.ps-hero-section p {
    color: var(--ps-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.ps-search-panel {
    background: var(--ps-card);
    border: 1px solid var(--ps-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

.ps-search-form {
    display: flex;
    gap: 12px;
}

.ps-search-input {
    flex: 1;
    background: #0f172a;
    border: 1px solid var(--ps-border);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 17px;
    color: #fff;
    outline: none;
}

.ps-search-input:focus {
    border-color: var(--ps-blue-light);
}

.ps-btn-main {
    background: var(--ps-blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 28px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.ps-btn-main:hover {
    background: var(--ps-blue-light);
}

.ps-btn-direct-pay {
    background: linear-gradient(135deg, var(--ps-kaspi) 0%, #d32f2f 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.ps-btn-direct-pay:hover {
    transform: scale(1.03);
}

.ps-service-item {
    background: var(--ps-card);
    border: 1px solid var(--ps-border);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ps-service-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #fff;
}

.ps-service-sub {
    font-size: 14px;
    color: var(--ps-muted);
    margin: 0 0 12px 0;
}

.ps-price-display {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.ps-no-markup-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--ps-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .ps-search-form { flex-direction: column; }
    .ps-service-item { flex-direction: column; align-items: flex-start; gap: 20px; }
    .ps-btn-main { width: 100%; padding: 16px; justify-content: center; }
}
