﻿:root {
    --ay-bg: #f5f7fa;
    --ay-card: #ffffff;
    --ay-dark: #1c2430;
    --ay-text: #445064;
    --ay-muted: #7b8798;
    --ay-border: #e2e7ee;
    --ay-orange: #ff5d00;
    --ay-orange-dark: #d94f00;
    --ay-soft-orange: #fff4e5;
}

body {
    background: var(--ay-bg);
    color: var(--ay-text);
}

.ay-page {
    padding: 38px 12px 60px;
}

.ay-shell,
.sorgula-shell {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.sorgula-shell .customer-header {
    margin-top: 0;
}

.ay-form-card {
    padding: 30px;
    border: 1px solid var(--ay-border);
    border-radius: 20px;
    background: var(--ay-card);
    box-shadow: 0 14px 35px rgba(28, 36, 48, .07);
}

.ay-page-heading {
    margin-bottom: 28px;
}

.ay-page-heading h1 {
    margin: 0 0 7px;
    color: var(--ay-dark);
    font-size: 27px;
    font-weight: 800;
}

.ay-page-heading p {
    margin: 0;
    color: var(--ay-muted);
    font-size: 15px;
    line-height: 1.6;
}

.ay-section {
    padding: 22px;
    margin-bottom: 18px;
    border: 1px solid var(--ay-border);
    border-radius: 16px;
    background: #fff;
}

.sorgula-form-section {
    max-width: none;
}

.form-label {
    margin-bottom: 7px;
    color: var(--ay-dark);
    font-size: 14px;
    font-weight: 650;
}

.form-control,
.form-select {
    min-height: 48px;
    border: 1px solid var(--ay-border);
    border-radius: 11px;
    color: var(--ay-dark);
    background-color: #fff;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ay-orange);
    box-shadow: 0 0 0 4px rgba(255, 93, 0, .12);
}

.form-control::placeholder {
    color: #a2aab7;
}

.ay-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
}

.sorgula-actions {
    justify-content: flex-end;
}

.ay-btn-primary,
.ay-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.ay-btn-primary {
    min-height: 50px;
    padding: 0 28px;
    border: 0;
    color: #fff;
    background: var(--ay-orange);
    box-shadow: 0 10px 22px rgba(255, 93, 0, .22);
}

.ay-btn-primary:hover {
    color: #fff;
    background: var(--ay-orange-dark);
    transform: translateY(-1px);
}

.ay-btn-secondary {
    border: 1px solid var(--ay-border);
    color: var(--ay-text);
    background: #fff;
}

.ay-btn-secondary:hover {
    color: var(--ay-dark);
    border-color: #c9d0da;
    background: #f7f8fa;
}

.sorgula-result-section {
    padding: 0;
    overflow: hidden;
}

.sorgula-result-body {
    padding: 22px;
}

.status-yolda {
    color: #fff;
    background: #7657d5;
}

.status-islemde {
    color: #fff;
    background: #b7791f;
}

.ay-footer-note {
    margin-top: 18px;
    color: var(--ay-muted);
    text-align: center;
    font-size: 12px;
}

@media (max-width: 768px) {
    .ay-page {
        padding-top: 18px;
    }

    .ay-form-card {
        padding: 21px;
        border-radius: 16px;
    }

    .ay-page-heading h1 {
        font-size: 23px;
    }

    .ay-section,
    .sorgula-result-body {
        padding: 18px;
    }

    .ay-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .ay-btn-primary,
    .ay-btn-secondary {
        width: 100%;
    }
}
