/* Стили, которые оригинал держал встроенным <style> в каждой странице */

/* Стиль для обязательного поля email */
.email-input.required-field .form-label {
    color: var(--monero-orange);
}

.email-input.required-field input {
    border-color: var(--monero-orange);
    background-color: rgba(255, 129, 48, 0.05);
}

.email-input.required-field small .text-warning {
    color: var(--monero-orange) !important;
    font-weight: bold;
}
/* Контакты - выдвижная панель */
/* Контакты - выдвижная панель */
.contacts-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

.contacts-toggle {
    background: linear-gradient(135deg, var(--monero-orange), var(--monero-light));
    color: #f7931a;
    padding: 12px 15px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: -2px 0 10px rgba(255, 102, 0, 0.3);
    z-index: 1001;
}

.contacts-toggle:hover {
    padding-right: 20px;
    box-shadow: -3px 0 15px rgba(255, 102, 0, 0.5);
}

.contacts-panel {
    position: fixed;
    top: 50%;
    right: -350px;
    transform: translateY(-50%);
    width: 320px;
    background: rgba(30, 30, 50, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px 0 0 12px;
    border: 2px solid var(--monero-orange);
    border-right: none;
    box-shadow: -5px 0 30px rgba(255, 102, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
    overflow: hidden;
}

.contacts-panel.active {
    right: 0;
}

.contacts-header {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.3), rgba(255, 140, 66, 0.2));
    padding: 20px;
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts-header h4 {
    margin: 0;
    color: var(--monero-orange);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.contacts-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.contacts-close:hover {
    color: var(--monero-orange);
    background: rgba(255, 102, 0, 0.2);
    transform: rotate(90deg);
}

.contact-items {
    padding: 20px;
}

.contact-item {
    background: rgba(50, 50, 70, 0.8);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 102, 0, 0.15);
    border-color: var(--monero-orange);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.2);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--monero-orange), var(--monero-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-info strong {
    display: block;
    color: var(--monero-orange);
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-value {
    color: var(--text-light);
    font-size: 0.9rem;
    word-break: break-all;
    line-height: 1.4;
    font-weight: 500;
}

.tox-address {
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    color: #b0b0ff;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.copy-btn {
    background: rgba(255, 102, 0, 0.1);
    border: 2px solid rgba(255, 102, 0, 0.4);
    color: var(--monero-orange);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    position: relative;
    font-size: 18px;
}

.copy-btn:hover {
    background: var(--monero-orange);
    color: #000;
    border-color: var(--monero-orange);
    transform: scale(1.1);
}

.copy-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: -90px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border: 1px solid var(--monero-orange);
}

.copy-btn:hover::after {
    opacity: 1;
}

/* Неоновые карточки - улучшенные */
/* Прозрачные неоновые карточки */
.neon-card {
    position: relative;
    background: rgba(15, 15, 26, 0.4) !important; /* Прозрачный фон */
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    overflow: hidden;
    min-height: 220px;
    transition: all 0.3s;
    backdrop-filter: blur(15px) !important; /* Размытие фона */
    border: 1px solid transparent !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

/* Оранжевая карточка */
.neon-card-orange {
    background: linear-gradient(
145deg, 
rgba(255, 102, 0, 0.05), 
rgba(255, 140, 66, 0.03)
    ) !important;
    border: 1px solid rgba(255, 102, 0, 0.2) !important;
}

.neon-card-orange::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
transparent 0%, 
rgba(255, 102, 0, 0.3) 25%, 
rgba(255, 140, 66, 0.3) 50%, 
rgba(255, 102, 0, 0.3) 75%, 
transparent 100%
    );
    border-radius: 22px;
    z-index: -1;
    animation: neon-border-orange 4s linear infinite;
    background-size: 200% 200%;
    opacity: 0.8;
}

/* Зеленая карточка */
.neon-card-green {
    background: linear-gradient(
145deg, 
rgba(0, 255, 0, 0.05), 
rgba(102, 255, 102, 0.03)
    ) !important;
    border: 1px solid rgba(0, 255, 0, 0.2) !important;
}

.neon-card-green::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
transparent 0%, 
rgba(0, 255, 0, 0.3) 25%, 
rgba(102, 255, 102, 0.3) 50%, 
rgba(0, 255, 0, 0.3) 75%, 
transparent 100%
    );
    border-radius: 22px;
    z-index: -1;
    animation: neon-border-green 4s linear infinite;
    background-size: 200% 200%;
    opacity: 0.8;
}

@keyframes neon-border-orange {
    0% {
background-position: 0% 50%;
opacity: 0.6;
    }
    50% {
background-position: 100% 50%;
opacity: 0.9;
    }
    100% {
background-position: 0% 50%;
opacity: 0.6;
    }
}

@keyframes neon-border-green {
    0% {
background-position: 0% 50%;
opacity: 0.6;
    }
    50% {
background-position: 100% 50%;
opacity: 0.9;
    }
    100% {
background-position: 0% 50%;
opacity: 0.6;
    }
}

.neon-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.neon-title {
    color: #fff;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
0 0 5px currentColor,
0 0 10px currentColor,
0 0 20px currentColor,
0 0 40px currentColor;
}

.neon-card-orange .neon-title {
    color: #ff8c42;
}

.neon-card-green .neon-title {
    color: #66ff66;
}

.neon-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.neon-card-orange .neon-text {
    background: rgba(255, 102, 0, 0.05);
}

.neon-card-green .neon-text {
    background: rgba(0, 255, 0, 0.05);
}

.neon-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
circle at center, 
rgba(255, 102, 0, 0.15) 0%, 
rgba(255, 102, 0, 0.05) 40%, 
transparent 70%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

.neon-card-green .neon-glow {
    background: radial-gradient(
circle at center, 
rgba(0, 255, 0, 0.15) 0%, 
rgba(0, 255, 0, 0.05) 40%, 
transparent 70%
    );
}

/* Эффект при наведении */
.neon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

.neon-card-orange:hover {
    background: linear-gradient(
145deg, 
rgba(255, 102, 0, 0.08), 
rgba(255, 140, 66, 0.05)
    ) !important;
    border-color: rgba(255, 102, 0, 0.4) !important;
}

.neon-card-green:hover {
    background: linear-gradient(
145deg, 
rgba(0, 255, 0, 0.08), 
rgba(102, 255, 102, 0.05)
    ) !important;
    border-color: rgba(0, 255, 0, 0.4) !important;
}

/* Эффект свечения текста при наведении */
.neon-card:hover .neon-title {
    text-shadow: 
0 0 10px currentColor,
0 0 20px currentColor,
0 0 30px currentColor,
0 0 50px currentColor;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
text-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 20px currentColor;
    }
    to {
text-shadow: 
    0 0 10px currentColor,
    0 0 20px currentColor,
    0 0 30px currentColor,
    0 0 50px currentColor;
    }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .neon-card {
padding: 25px;
min-height: 180px;
backdrop-filter: blur(10px) !important;
    }
    
    .neon-title {
font-size: 1.6rem;
letter-spacing: 1px;
    }
    
    .neon-text {
font-size: 1rem;
    }
}

/* Анимация копирования */
.copy-success {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--monero-orange), var(--monero-light));
    color: #000;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    z-index: 10000;
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.copy-success i {
    font-size: 1.2rem;
}

@keyframes slideIn {
    from {
transform: translateX(100%) translateY(20px);
opacity: 0;
    }
    to {
transform: translateX(0) translateY(0);
opacity: 1;
    }
}

@keyframes slideOut {
    from {
transform: translateX(0) translateY(0);
opacity: 1;
    }
    to {
transform: translateX(100%) translateY(20px);
opacity: 0;
    }
}

/* Уведомление о копировании */
#copyNotification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    z-index: 10000;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.4s ease-out forwards;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#copyNotification i {
    font-size: 1.2rem;
}

/* Адаптивность */
@media (max-width: 992px) {
    .neon-title {
font-size: 1.8rem;
    }
    
    .neon-card {
padding: 25px;
min-height: 200px;
    }
}

@media (max-width: 768px) {
    .contacts-panel {
width: 280px;
right: -280px;
    }
    
    .neon-card {
padding: 20px;
min-height: 180px;
    }
    
    .neon-title {
font-size: 1.5rem;
letter-spacing: 1px;
    }
    
    .neon-text {
font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contacts-sidebar {
top: auto;
bottom: 20px;
right: 20px;
transform: none;
    }
    
    .contacts-toggle {
border-radius: 50%;
width: 60px;
height: 60px;
padding: 0;
justify-content: center;
font-size: 1.5rem;
    }
    
    .contacts-toggle span {
display: none;
    }
    
    .contacts-panel {
top: 0;
right: -100%;
height: 100vh;
width: 100%;
border-radius: 0;
transform: none;
border: none;
border-left: 3px solid var(--monero-orange);
    }
    
    .contacts-panel.active {
right: 0;
    }
    
    .copy-success {
bottom: 80px;
right: 20px;
left: 20px;
text-align: center;
justify-content: center;
    }
    
    .copy-btn::after {
display: none;
    }
}

/* Форумы - выдвижная панель */
.forums-sidebar {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 999;
}

.forums-toggle {
    background: linear-gradient(135deg, #6f42c1, #9b6bff);
    color: white;
    padding: 12px 15px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: -2px 0 10px rgba(111, 66, 193, 0.3);
    z-index: 1001;
}

.forums-toggle:hover {
    padding-right: 20px;
    box-shadow: -3px 0 15px rgba(111, 66, 193, 0.5);
}

.forums-panel {
    position: fixed;
    top: 50%;
    right: -350px;
    transform: translateY(-50%);
    width: 320px;
    background: rgba(40, 40, 60, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px 0 0 12px;
    border: 2px solid #6f42c1;
    border-right: none;
    box-shadow: -5px 0 30px rgba(111, 66, 193, 0.3);
    transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    overflow: hidden;
}

.forums-panel.active {
    right: 0;
}

.forums-header {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.3), rgba(155, 107, 255, 0.2));
    padding: 20px;
    border-bottom: 2px solid rgba(111, 66, 193, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forums-header h4 {
    margin: 0;
    color: #9b6bff;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(155, 107, 255, 0.5);
}

.forums-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.forums-close:hover {
    color: #9b6bff;
    background: rgba(111, 66, 193, 0.2);
    transform: rotate(90deg);
}

.forum-items {
    padding: 20px;
}

.forum-item {
    background: rgba(50, 50, 70, 0.8);
    border: 1px solid rgba(111, 66, 193, 0.3);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.forum-item:hover {
    background: rgba(111, 66, 193, 0.15);
    border-color: #9b6bff;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.2);
    text-decoration: none;
}

.forum-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6f42c1, #9b6bff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(111, 66, 193, 0.3);
}

.forum-info {
    flex: 1;
    min-width: 0;
}

.forum-info strong {
    display: block;
    color: #9b6bff;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.forum-url {
    color: var(--text-light);
    font-size: 0.85rem;
    word-break: break-all;
    line-height: 1.4;
    font-weight: 500;
}

.forum-external {
    color: #9b6bff;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.forum-item:hover .forum-external {
    transform: translateX(3px);
    color: white;
}

/* Адаптивность для форумов */
@media (max-width: 768px) {
    .forums-sidebar {
top: auto;
bottom: 80px;
right: 20px;
    }
    
    .forums-toggle {
border-radius: 50%;
width: 60px;
height: 60px;
padding: 0;
justify-content: center;
font-size: 1.5rem;
    }
    
    .forums-toggle span {
display: none;
    }
    
    .forums-panel {
top: 0;
right: -100%;
height: 100vh;
width: 100%;
border-radius: 0;
transform: none;
border: none;
border-left: 3px solid #6f42c1;
    }
    
    .forums-panel.active {
right: 0;
    }
}

@media (max-width: 480px) {
    .forums-sidebar {
bottom: 140px;
    }
}

/* ===== ниже — дополнения для работы через движок ===== */

/* иконка монеты лежала поверх текста: у оригинала выбранная валюта
   в «Receive» не читалась, а иконка «You send» съезжала на подпись */
.receive-select-trigger {
    padding-left: 64px;
}

.token-select-wrapper .form-control.ps-5 {
    padding-left: 64px !important;
}

.token-select-wrapper .token-icon {
    top: auto;
    bottom: 12px;
    transform: none;
}

/* вспышка контакта при копировании (раньше добавлялась скриптом) */
@keyframes copyFlash {
    0% { background-color: rgba(255, 102, 0, 0.1); }
    50% { background-color: rgba(255, 102, 0, 0.3); }
    100% { background-color: rgba(255, 102, 0, 0.1); }
}

.change-currency-link {
    text-align: center;
    margin-top: 15px;
}

.rx-error {
    color: var(--snow-white);
    border-color: rgba(212, 0, 0, 0.6);
    font-weight: 600;
}

.receive-option-empty {
    padding: 15px 20px;
    color: var(--text-muted);
    text-align: center;
}

/* ----- страница заявки ----- */

.rx-loading {
    color: var(--text-muted);
    padding: 30px 0;
}

.rx-steps {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 25px;
}

.rx-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
}

.rx-step::before {
    content: '';
    position: absolute;
    top: 17px;
    left: -50%;
    right: 50%;
    height: 2px;
    background: #334455;
    z-index: 0;
}

.rx-step:first-child::before {
    display: none;
}

.rx-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #334455;
    background: rgba(40, 40, 60, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.rx-step.done,
.rx-step.current {
    color: var(--christmas-gold);
}

.rx-step.done::before,
.rx-step.current::before {
    background: linear-gradient(90deg, var(--christmas-red), var(--christmas-green));
}

.rx-step.done .rx-step-dot {
    background: linear-gradient(135deg, var(--christmas-red), var(--christmas-green));
    border-color: var(--christmas-gold);
    color: #fff;
}

.rx-step.current .rx-step-dot {
    border-color: var(--christmas-gold);
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.5);
    color: var(--christmas-gold);
}

.rx-status {
    color: var(--snow-white);
    border-color: rgba(255, 204, 0, 0.4);
    margin-bottom: 25px;
}

.rx-status strong {
    display: block;
    color: var(--christmas-gold);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.rx-status.rx-status-ok {
    border-color: rgba(0, 170, 68, 0.7);
}

.rx-status.rx-status-ok strong {
    color: #66ff66;
}

.rx-status.rx-status-bad {
    border-color: rgba(212, 0, 0, 0.7);
}

.rx-status.rx-status-bad strong {
    color: #ff6b6b;
}

.rx-copy-field {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rx-copy-field .form-control {
    flex: 1;
    min-width: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.rx-copy-field .form-control.rx-amount {
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--christmas-gold);
}

.rx-copy-field .copy-btn {
    width: 56px;
    height: 56px;
    border-radius: 12px;
}

.rx-copy-field .copy-btn::after {
    display: none;
}

.rx-qr {
    text-align: center;
    margin: 10px 0 20px;
}

.rx-qr img {
    width: 200px;
    height: 200px;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid var(--christmas-gold);
}

.rx-details {
    color: var(--text-light);
    text-align: left;
}

.rx-details .rate-row span:last-child {
    text-align: right;
    margin-left: 15px;
    color: var(--snow-white);
}

.rx-break span:last-child {
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.rx-note {
    color: var(--text-muted);
}

.rx-order .btn-exchange {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----- подвал: зеркала и адреса из админки ----- */

.rx-footer {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    padding: 20px 0 30px;
    border-top: 1px solid rgba(255, 204, 0, 0.2);
    background: rgba(10, 15, 26, 0.6);
    font-size: 0.9rem;
}

.rx-footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 4px 0;
}

.rx-footer-label {
    color: var(--text-muted);
}

.rx-footer-value {
    color: var(--christmas-gold);
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.rx-footer-value a {
    color: inherit;
}

@media (max-width: 480px) {
    .rx-step-label {
        font-size: 0.7rem;
    }
}
