* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Force enable interactions */
  input, textarea, select, button, label {
    pointer-events: auto !important;
    user-select: text !important;
  }
  
  button, .toggle-label, .revoke-option, .file-upload {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: white;
    color: #333;
    line-height: 1.6;
  }
  
  /* NAVBAR */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 64px;
    max-height: 80px;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .wide-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s, letter-spacing 0.2s;
    font-family: 'Segoe UI', Arial, sans-serif;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: #14f1c6;
    letter-spacing: 0.13em;
  }
  
  .wallet-container {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .wallet-dropdown {
    position: relative;
  }
  
  .connect-wallet-btn {
    background: linear-gradient(135deg, #14f195, #00d4aa);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 1rem;
  }
  
  .connect-wallet-btn:hover {
    transform: translateY(-2px);
  }
  
  .logout-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1001;
    margin-top: 0.5rem;
  }
  
  .wallet-dropdown.connected .logout-dropdown {
    opacity: 1;
    visibility: visible;
  }
  
  .logout-btn {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    color: #333;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-weight: 500;
  }
  
  .logout-btn:hover {
    background-color: #f5f5f5;
  }
  
  /* HAMBURGER MENU */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
  }
  
  .hamburger span {
    width: 100%;
    height: 3px;
    background-color: #14f195;
    transition: all 0.3s;
    border-radius: 2px;
  }
  
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1050;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
  }
  
  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .mobile-menu li {
    border-bottom: 1px solid #eee;
  }
  
  .mobile-menu li:last-child {
    border-bottom: none;
  }
  
  .mobile-menu a {
    color: #333;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    transition: background 0.2s;
  }
  
  .mobile-menu a:hover,
  .mobile-menu a.active {
    background: #f5f5f5;
    color: #14f1c6;
  }
  
  /* MAIN CONTENT */
  main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background-color: #f8f9fa;
  }
  
  .create-token-section {
    padding: 4rem 0;
  }
  
  .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .header-content {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
  }
  
  .page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
  }
  
  /* FORM STYLES */
  .token-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Remove number input arrows */
  input[type="number"]::-webkit-outer-spin-button,
  input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  input[type="number"] {
    -moz-appearance: textfield;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
  }
  
  .form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s;
    pointer-events: auto;
    user-select: text;
  }
  
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: #999;
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    border-color: #14f1c6;
    background: white;
  }
  
  .form-group.error input,
  .form-group.error textarea,
  .form-group.error select {
    border-color: #ff4757;
    background: #fff5f5;
  }
  
  .form-group small {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }
  
  /* Custom Notifications */
  .notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: white;
    border: 2px solid #ff4757;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    max-width: 350px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
  }
  
  .notification.show {
    opacity: 1;
    transform: translateX(0);
  }
  
  .notification.success {
    border-color: #14f1c6;
    background: #f0fffe;
  }
  
  .notification.error {
    border-color: #ff4757;
    background: #fff5f5;
  }
  
  .notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .notification-icon {
    font-size: 1.5rem;
    color: #14f1c6;
  }
  
  .notification.error .notification-icon {
    color: #ff4757;
  }
  
  .notification-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .upload-icon {
    color: #666;
    margin-bottom: 1rem;
  }
  
  .upload-area.success {
    color: #14f1c6;
    border-color: #14f1c6;
    background: #f0fffe;
  }
  
  .upload-area.success .upload-icon {
    color: #14f1c6;
  }
  
  .logo-placeholder {
    color: #999;
  }
  
  .notification-text {
    flex: 1;
  }
  
  .notification-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
  }
  
  .notification-message {
    color: #666;
    font-size: 0.9rem;
  }
  
  .notification-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    margin-left: 1rem;
  }
  
  .notification-close:hover {
    color: #333;
  }
  
  .error-message {
    color: #ff4757;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
  }
  
  .form-group.error .error-message {
    display: block;
  }
  
  /* FILE UPLOAD */
  .file-upload {
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: #f8f9fa;
    pointer-events: auto;
  }
  
  .file-upload:hover {
    border-color: #14f1c6;
    background: #f0fffe;
  }
  
  .upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .upload-icon {
    font-size: 2rem;
  }
  
  .upload-area p {
    color: #333;
    margin: 0;
  }
  
  .upload-area small {
    color: #666;
  }
  
  /* AI LOGO */
  .ai-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
  }
  
  .ai-logo-preview {
    width: 100px;
    height: 100px;
    background: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
  }
  
  .coming-soon {
    background: linear-gradient(135deg, #14f195, #00d4aa);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  /* OPTIONAL FEATURES */
  .optional-features {
    margin: 3rem 0;
  }
  
  .feature-toggle {
    margin-bottom: 1rem;
  }
  
  .toggle-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    pointer-events: auto;
  }
  
  .toggle-label:hover {
    border-color: #14f1c6;
    background: #f0fffe;
  }
  
  .toggle-slider {
    position: relative;
    width: 50px;
    height: 25px;
    background: #e0e0e0;
    border-radius: 25px;
    transition: all 0.3s;
  }
  
  .toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  
  .feature-checkbox:checked + .toggle-slider {
    background: #14f1c6;
  }
  
  .feature-checkbox:checked + .toggle-slider::before {
    transform: translateX(25px);
  }
  
  .feature-checkbox {
    display: none;
  }
  
  .toggle-text {
    flex: 1;
    font-weight: 600;
    color: #333;
  }
  
  .price-tag {
    background: #e8f8f5;
    color: #14f1c6;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  .feature-content {
    display: none;
    margin-top: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    border-left: 4px solid #14f1c6;
  }
  
  /* REVOKE SECTION */
  .revoke-section {
    margin: 3rem 0;
  }
  
  .revoke-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .revoke-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .revoke-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
  }
  
  .revoke-option:hover {
    border-color: #14f1c6;
    background: #f0fffe;
  }
  
  .revoke-checkbox {
    display: none;
  }
  
  .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-top: 2px;
    background: white;
  }
  
  .revoke-checkbox:checked + .checkmark {
    background: #14f1c6;
    border-color: #14f1c6;
  }
  
  .revoke-checkbox:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
  }
  
  .revoke-text {
    flex: 1;
  }
  
  .revoke-text strong {
    display: block;
    color: #333;
    margin-bottom: 0.3rem;
  }
  
  .revoke-text small {
    color: #666;
  }
  
  /* FORM ACTIONS */
  .form-actions {
    margin-top: 3rem;
    text-align: center;
  }
  
  .create-token-btn {
    background: linear-gradient(135deg, #14f195, #00d4aa);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(20, 241, 198, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
  }
  
  .create-token-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 241, 198, 0.25);
  }
  
  .total-price {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 1rem;
  }
  
  /* PAYMENT MODAL */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }
  
  .payment-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .modal-header h2 {
    color: #333;
    font-size: 1.5rem;
    margin: 0;
  }
  
  .close-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
  }
  
  .close-btn:hover {
    background: #f5f5f5;
  }
  
  .modal-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    padding: 2rem;
    align-items: start;
  }
  
  .payment-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .payment-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .payment-field label {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .copy-field {
    display: flex;
    gap: 0.5rem;
  }
  
  .copy-field input {
    flex: 1;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.8rem;
    color: #333;
    font-size: 0.9rem;
  }
  
  .copy-btn {
    background: #14f1c6;
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
  }
  
  .copy-btn:hover {
    background: #00d4aa;
    transform: translateY(-1px);
  }
  
  .payment-divider {
    width: 1px;
    background: #e0e0e0;
    height: 100%;
    min-height: 200px;
  }
  
  .payment-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .timer-container {
    text-align: center;
  }
  
  .timer {
    font-size: 2.5rem;
    font-weight: 700;
    color: #14f1c6;
  }
  
  .qr-container {
    border: 3px solid #14f1c6;
    border-radius: 15px;
    padding: 1rem;
    background: white;
  }
  
  .qr-code {
    width: 150px;
    height: 150px;
    display: block;
  }
  
  .modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
  }
  
  .modal-footer p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
  }
  
  /* MEDIA QUERIES */
  
  /* Tablet */
  @media (max-width: 1024px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .token-form {
        padding: 2rem;
    }
    
    .form-row {
        gap: 1.5rem;
    }
  }
  
  /* Mobile Large */
  @media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .wide-logo {
        max-width: 320px;
        max-height: 40px;
    }
    
    .create-token-section {
        padding: 3rem 0;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .token-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .payment-divider {
        width: 100%;
        height: 1px;
        min-height: auto;
    }
    
    .timer {
        font-size: 2rem;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
  }
  
  /* Mobile Small */
  @media (max-width: 600px) {
    .navbar {
        padding: 0.5rem 1rem;
        max-height: 64px;
    }
    
    .connect-wallet-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .wide-logo {
        max-width: 200px;
        max-height: 32px;
    }
    
    .create-token-section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .token-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .toggle-label {
        padding: 0.8rem;
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .toggle-text {
        order: -1;
    }
    
    .create-token-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .payment-modal {
        margin: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .timer {
        font-size: 1.8rem;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
    
    .notification {
        right: 0.5rem;
        left: 0.5rem;
        top: 70px;
    }
    
    .notification-content {
        gap: 0.5rem;
    }
    
    .notification-icon {
        font-size: 1.2rem;
    }
  }
  
  /* Mobile Extra Small */
  @media (max-width: 480px) {
    .navbar {
        padding: 0.3rem 0.5rem;
        max-height: 56px;
    }
    
    .wide-logo {
        max-width: 160px;
        max-height: 28px;
    }
    
    .connect-wallet-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .header-content {
        margin-bottom: 2rem;
    }
    
    .modal-header,
    .modal-content,
    .modal-footer {
        padding: 1rem;
    }
    
    .payment-left {
        gap: 1rem;
    }
    
    .notification {
        right: 1rem;
        left: 1rem;
        max-width: none;
        top: 80px;
    }
  }

/* Стили для модального окна ограничений */
.restriction-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.restriction-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: restrictionModalSlideIn 0.5s ease-out;
}

@keyframes restrictionModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.restriction-modal-header {
    background: linear-gradient(135deg, var(--primary-color, #14f1c6), var(--secondary-color, #764ba2));
    color: white;
    padding: 2rem;
    text-align: center;
}

.restriction-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.restriction-modal-content {
    padding: 2rem;
}

.restriction-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.restriction-payment-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.restriction-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color, #14f1c6);
    margin-bottom: 1rem;
}

.restriction-qr-code {
    margin: 2rem 0;
}

.restriction-qr-code img {
    width: 200px;
    height: 200px;
    border: 4px solid white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.restriction-sol-address {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
    margin: 1rem 0;
    color: #333;
}

.restriction-pay-btn {
    background: linear-gradient(135deg, var(--primary-color, #14f1c6), var(--secondary-color, #764ba2));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0.5rem;
}

.restriction-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.restriction-check-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin: 0.5rem;
    transition: all 0.3s;
}

.restriction-check-btn:hover {
    background: #218838;
}

.restriction-check-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.restriction-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: restrictionSpin 1s linear infinite;
    margin-left: 0.5em;
}

@keyframes restrictionSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.restriction-result-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.restriction-result-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.restriction-result-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.restriction-domain-info {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 0.9rem;
}

/* Блюр основного контента когда открыто модальное окно */
body.restriction-modal-open > *:not(.restriction-modal-overlay) {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

/* Убираем возможность взаимодействия с фоновым контентом */
body.restriction-modal-open {
    overflow: hidden;
}

/* Респонсивность для модального окна */
@media (max-width: 768px) {
    .restriction-modal {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .restriction-modal-header,
    .restriction-modal-content {
        padding: 1.5rem;
    }
    
    .restriction-title {
        font-size: 1.5rem;
    }
    
    .restriction-amount {
        font-size: 2rem;
    }
    
    .restriction-qr-code img {
        width: 150px;
        height: 150px;
    }
    
    .restriction-pay-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}