.samane-response-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.response-header {
    text-align: center;
    margin-bottom: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.response-header h1 {
    color: #2e7d32;
    margin-bottom: 10px;
}

/* بخش جستجوی جدید */
.search-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
}

.search-box-large {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.large-search-input {
    flex: 1;
    padding: 20px 25px;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    font-size: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafafa;
    font-weight: 500;
    min-height: 30px;
}

.large-search-input:focus {
    outline: none;
    border-color: #2e7d32;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.15);
    transform: translateY(-2px);
}

.large-search-input::placeholder {
    color: #999;
    font-size: 18px;
    font-weight: normal;
}

.small-search-btn {
    background: #2e7d32;
    color: white;
    padding: 20px 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 130px;
}

.small-search-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.small-search-btn:active {
    transform: translateY(0);
}

.response-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.response-card.approved {
    border-right: 4px solid #4caf50;
}

.response-card.pending {
    border-right: 4px solid #ff9800;
}

.response-card.rejected {
    border-right: 4px solid #f44336;
}

.response-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tracking-info h3 {
    margin: 0;
    color: #333;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.print-btn button {
    background: #2196f3;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.response-body {
    padding: 30px;
}

.request-info-section,
.request-content-section,
.response-content-section {
    margin-bottom: 30px;
}

.request-info-section h4,
.request-content-section h4,
.response-content-section h4 {
    color: #2e7d32;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.content-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    line-height: 1.6;
}

.content-box.response {
    background: #e8f5e9;
    border-right: 4px solid #4caf50;
}

.response-date {
    text-align: left;
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

.pending-notice,
.rejected-notice {
    background: #fff3cd;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    color: #856404;
}

.rejected-notice {
    background: #f8d7da;
    color: #721c24;
}

.no-results {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.error-icon {
    font-size: 60px;
    color: #dc3545;
    margin-bottom: 20px;
}

.help-section {
    margin-top: 40px;
}

.help-card {
    background: #e3f2fd;
    padding: 25px;
    border-radius: 10px;
    border-right: 4px solid #2196f3;
}

.help-card h3 {
    margin-top: 0;
    color: #1565c0;
}

.help-card ul {
    text-align: right;
    padding-right: 20px;
}

/* رسپانسیو برای تبلت */
@media (max-width: 1024px) {
    .search-container {
        max-width: 600px;
    }

    .large-search-input {
        padding: 18px 22px;
        font-size: 18px;
    }

    .small-search-btn {
        padding: 18px 25px;
        min-width: 120px;
    }
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .samane-response-page {
        padding: 15px;
    }

    .response-header {
        padding: 20px;
    }

    .search-section {
        padding: 20px;
    }

    .search-box-large {
        flex-direction: column;
        gap: 15px;
    }

    .large-search-input {
        padding: 20px;
        font-size: 18px;
        text-align: center;
        min-height: 25px;
    }

    .small-search-btn {
        padding: 18px;
        width: 100%;
        font-size: 16px;
        min-width: auto;
    }

    .response-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        flex-direction: column;
        gap: 5px;
    }

    .response-body {
        padding: 20px;
    }
}

/* رسپانسیو برای موبایل‌های کوچک */
@media (max-width: 480px) {
    .samane-response-page {
        padding: 10px;
    }

    .response-header h1 {
        font-size: 1.5em;
    }

    .search-section {
        padding: 15px;
    }

    .large-search-input {
        padding: 18px;
        font-size: 16px;
    }

    .small-search-btn {
        padding: 16px;
        font-size: 15px;
    }

    .help-card {
        padding: 20px;
    }
}

/* بهبود برای حالت landscape در موبایل */
@media (max-width: 768px) and (orientation: landscape) {
    .search-box-large {
        flex-direction: row;
    }

    .small-search-btn {
        width: auto;
        min-width: 120px;
    }
}

/* پشتیبانی از تاچ برای دستگاه‌های لمسی */
@media (hover: none) and (pointer: coarse) {
    .large-search-input {
        font-size: 16px;
        min-height: 50px;
    }

    .small-search-btn {
        min-height: 50px;
    }

    .large-search-input:focus {
        transform: none;
    }

    .small-search-btn:hover {
        transform: none;
    }

    .small-search-btn:active {
        background: #1b5e20;
        transform: scale(0.98);
    }
}

/* استایل برای حالت پرینت */
@media print {

    .search-section,
    .help-section,
    .print-btn {
        display: none;
    }

    .response-card {
        box-shadow: none;
        border: 1px solid #000;
    }

    .large-search-input,
    .small-search-btn {
        display: none;
    }
}

/* انیمیشن برای focus state */
@keyframes inputPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(46, 125, 50, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

.large-search-input:focus {
    animation: inputPulse 1.5s infinite;
}