.quote-page {
    padding: 30px 0 60px;
}

.quote-hero {
    background: linear-gradient(135deg, rgba(211,47,47,1) 0%, rgba(179,35,35,1) 50%, rgba(119,17,17,1) 100%);
    border-radius: 10px;
    padding: 28px 22px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.quote-hero h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.quote-hero p {
    margin: 10px 0 0;
    opacity: 0.9;
    max-width: 800px;
    line-height: 1.6;
}

.quote-shell {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.quote-content {
    padding: 22px;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.q-col-12 { grid-column: span 12; }
.q-col-6 { grid-column: span 6; }
.q-col-4 { grid-column: span 4; }
.q-col-8 { grid-column: span 8; }

@media (max-width: 900px) {
    .q-col-6, .q-col-4, .q-col-8 { grid-column: span 12; }
    .quote-content { padding: 18px; }
}

.q-field label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.q-field .q-hint {
    font-size: 0.82rem;
    color: #777;
    margin-top: 6px;
    line-height: 1.45;
}

.q-control {
    width: 100%;
    height: 44px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.q-control:focus {
    border-color: rgba(211,47,47,0.7);
    box-shadow: 0 0 0 3px rgba(211,47,47,0.15);
}

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

.q-file {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.q-file__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.q-file__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    background: #fafafa;
    color: #333;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.05s ease, background 0.2s ease, border-color 0.2s ease;
}

.q-file__btn:hover {
    background: #f2f2f2;
    border-color: #dedede;
}

.q-file__btn:active {
    transform: translateY(1px);
}

.q-file__name {
    color: #666;
    font-size: 0.88rem;
}

.q-errors {
    display: none;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #b00020;
    line-height: 1.4;
}

.q-field.is-invalid .q-control {
    border-color: #b00020;
    box-shadow: 0 0 0 3px rgba(176,0,32,0.10);
}

.q-field.is-invalid .q-errors {
    display: block;
}

.q-alert {
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 0 16px;
    border: 1px solid transparent;
}

.q-alert-success {
    background: #eaf7ee;
    border-color: #bfe7c9;
    color: #1f6d33;
}

.q-alert-error {
    background: #fdecee;
    border-color: #f6b9c0;
    color: #8a1322;
}

.q-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}

.q-btn {
    appearance: none;
    border: none;
    border-radius: 8px;
    height: 46px;
    padding: 0 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.05s ease, background 0.2s ease;
}

.q-btn-primary {
    background: #D32F2F;
    color: #fff;
}

.q-btn-primary:hover {
    background: #b71c1c;
}

.q-btn-primary:active {
    transform: translateY(1px);
}

.q-btn-secondary {
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    color: #333;
}

.q-btn-secondary:hover {
    background: #efefef;
}

.q-preview {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
    margin-top: 10px;
}

.q-preview img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
    border: 1px solid #eee;
}

.q-preview .q-preview-meta {
    display: grid;
    gap: 4px;
}

.q-preview .q-preview-name {
    font-weight: 800;
    color: #333;
    font-size: 0.92rem;
}

.q-preview .q-preview-sub {
    color: #666;
    font-size: 0.82rem;
}
