/* Блоки под формой обмена - светлая тема */

.exchange-block {
    margin: 60px 0;
    padding: 40px 0;
}

.exchange-block-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.exchange-block-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.exchange-block-icon {
    font-size: 28px;
}

/* Последние обмены */
.exchange-orders-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.exchange-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.exchange-order-item:hover {
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
    transform: translateY(-2px);
}

.exchange-order-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    width: 100%;
}

.exchange-date-icon {
    font-size: 14px;
}

.exchange-order-pair {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.exchange-order-currency {
    display: flex;
    align-items: center;
}

.exchange-order-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.exchange-order-icon-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.exchange-order-arrow {
    color: #4a90e2;
    font-size: 18px;
    font-weight: 700;
}

.exchange-order-amount {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.exchange-order-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #4a90e2;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.exchange-order-link:hover {
    background: #357abd;
    transform: scale(1.1);
}

.exchange-link-icon {
    color: #fff;
    font-size: 16px;
}

/* Последние отзывы */
.exchange-reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.exchange-review-item {
    padding: 25px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.exchange-review-item:hover {
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.exchange-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.exchange-review-user-icon {
    font-size: 20px;
}

.exchange-review-user {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.exchange-review-text {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.exchange-review-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #999;
}

/* Преимущества */
.exchange-advantages-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.exchange-advantage-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.exchange-advantage-arrow {
    font-size: 32px;
    color: #4a90e2;
    font-weight: 700;
    flex-shrink: 0;
}

.exchange-advantage-content {
    text-align: center;
    flex: 1;
}

.exchange-advantage-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.exchange-advantage-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.exchange-advantage-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* FAQ */
.exchange-faq-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.exchange-faq-subtitle {
    font-size: 18px;
    color: #666;
    margin: -10px 0 30px 0;
}

.exchange-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.exchange-faq-item {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.exchange-faq-item.active {
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.exchange-faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exchange-faq-question:hover {
    background: #f8f9fa;
}

.exchange-faq-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.exchange-faq-question-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.exchange-faq-toggle {
    font-size: 14px;
    color: #4a90e2;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.exchange-faq-item.active .exchange-faq-toggle {
    transform: rotate(90deg);
}

.exchange-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.exchange-faq-item.active .exchange-faq-answer {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.exchange-faq-answer p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.exchange-faq-support {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.exchange-support-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.exchange-support-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.exchange-support-availability {
    font-size: 14px;
    color: #4a90e2;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.exchange-support-btn {
    width: 100%;
    padding: 14px;
    background: #ffc107;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exchange-support-btn:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .exchange-faq-wrapper {
        grid-template-columns: 1fr;
    }
    
    .exchange-advantages-list {
        flex-direction: column;
    }
    
    .exchange-advantage-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .exchange-block {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .exchange-block-title {
        font-size: 24px;
    }
    
    .exchange-orders-list,
    .exchange-reviews-list {
        grid-template-columns: 1fr;
    }
}
