 

 
.chart-container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#priceChart {
    display: block;
    width: 100% !important;
    height: auto;
    margin: 0;
    padding: 0;
}
 
 

    button[type="submit"] {
        background-color: #007BFF;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    button[type="submit"]:hover {
        background-color: #45a049;
    }
 
    @media (max-width: 768px) {
        .chart-container {
            height: 60vh;  
        }
    }
	 
#settingsForm {
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

 
.settings-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 10px;
}

.form-inline {
    display: flex;
    gap: 10px;
    align-items: center;
    
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
 
.form-select {
    padding: 5px 10px;
    background-color: #1f2630;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-select:hover, .form-select:focus {
    border-color: #ff9800;
}
 
.form-button {
    padding: 5px 15px;
    background-color: #ff9800;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.form-button:hover {
    background-color: #e68900;
}

.form-button:active {
    transform: scale(0.95);
} 
        .info-icon {
            font-size: 36px; 
            font-weight: bold;
            color: white;
            background-color: #007BFF;  
            border-radius: 50%;
            width: 110px;  
            height: 40px;  
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            margin-left: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        
        .info-icon:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }


        
        .info-container {
            display: none; 
            border: 1px solid #ccc;
            background-color: #1f2630;
            padding: 20px;
            margin-top: 10px;
            max-height: 400px;
            overflow-y: auto;
        }

        
        .close-btn {
            float: right;
            font-size: 20px;
            font-weight: bold;
            color: #ff0000;
            cursor: pointer;
        }

        
        .indicator-description h3 {
            margin-top: 10px;
            color: orange;
        }

        .indicator-description p {
            margin: 5px 0;
            font-size: 14px;
            line-height: 1.5;
        }


.filter-panel {
    width: 100%;
    background-color: #29313e;
    padding: 10px;
    border-radius: 8px;
   margin-left: 0;
    margin-right: auto;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden; 
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


.filter-panel h3, .filter-panel h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}


.filter-item {
    background-color: #1f2630;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
    overflow: hidden; 
}


input[type="checkbox"].filter-toggle {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #2ebd85;
    margin-right: 5px;
}


.filter-item label {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
}


input[type="number"].filter-value {
    background-color: #1f2630;
    color: #fff;
    border: 1px solid #666;
    border-radius: 4px;
    padding: 3px;
    width: 100px;
    font-size: 14px;
    overflow: hidden;
}


button.remove-filter {
    background-color: #ff4d4f;
    border: none;
    color: white;
    font-size: 16px;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    overflow: hidden;
}

button.remove-filter:hover {
    background-color: #e33e3e;
    transform: scale(1.1);
}


select#addFilterSelect {
    width: 100%;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #666;
    background-color: #1f2630;
    color: white;
    margin-bottom: 8px;
    font-size: 14px;
    overflow: hidden;
}

 


button[type="button"]:hover {
    background-color: #45a049;
    transform: scale(1.05);
}


button#saveAllButton {
    background-color: #007BFF;
}

button#saveAllButton:hover {
    background-color: #0056b3;
}

 
 
 
.filter-panel-remove {
    width: 100%;
    background-color: #29313e;
    padding: 10px;
    border-radius: 8px;
    margin-left: auto; 
    margin-right: 0;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
     
    top: 10px;
    right: 10px;
}


input[type="checkbox"].filter-toggle-remove {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #2ebd85;
    margin-right: 5px;
}


input[type="number"].filter-value-remove {
    background-color: #1f2630;
    color: #fff;
    border: 1px solid #666;
    border-radius: 4px;
    padding: 3px;
    width: 100px;
    font-size: 14px;
    overflow: hidden;
}


button.remove-filter-remove {
    background-color: #ff4d4f;
    border: none;
    color: white;
    font-size: 16px;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    overflow: hidden;
}

button.remove-filter-remove:hover {
    background-color: #e33e3e;
    transform: scale(1.1);
}


select#addFilterSelectRemove {
    width: 100%;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #666;
    background-color: #1f2630;
    color: white;
    margin-bottom: 8px;
    font-size: 14px;
    overflow: hidden;
}


button[type="button"].filter-remove {
    width: 100%;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s, transform 0.1s;
    outline: none;
    box-shadow: none;
    overflow: hidden;
}

button[type="button"].filter-remove:hover {
    background-color: #45a049;
    transform: scale(1.05);
}


button#saveAllButtonRemove {
    background-color: #007BFF;
}

button#saveAllButtonRemove:hover {
    background-color: #0056b3;
}

.forms-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.filter-panel-container {
    flex: 1;
    max-width: 35%;
}
.strategy-panel-container {
    flex: 1;
    width: 100%; 
    background-color: #29313e;
    padding: 5px; 
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}



.sorting-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.sort-button {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    width: 50%;
    box-sizing: border-box;
}

.sort-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}


.strategy-panel {
    width: 100%;  
    
    margin: 0 auto; 
}


.strategy-list-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
}


.strategy-item {
    width: 85%;  
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #1f2630;
    border-radius: 5px;
    margin: 5px auto;
    white-space: nowrap;
    overflow: hidden;
}


.strategy-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


button.load-strategy {
    min-width: 80px;
    max-width: 100px;
    padding: 8px 12px;
    font-size: 14px;
}


.strategy-text {
    flex: 1; 
    overflow: hidden;
    text-overflow: ellipsis; 
    white-space: nowrap;
}


.strategy-date {
    color: #ccc;
    font-size: 12px;
    margin-left: 10px;
}



 

button.load-strategy:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}


.save-strategy-container {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
    width: 100%;
}

input[type="text"].strategy-name-input {
    flex: 1;
    background-color: #1f2630;
    color: #fff;
    border: 1px solid #666;
    border-radius: 5px;
    padding: 8px;
    font-size: 16px;
    box-sizing: border-box;
    max-width: 90%;
}


button.save-strategy {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

button.save-strategy:hover {
    background-color: #45a049;
    transform: scale(1.05);
}
 

.strategy-list-container::-webkit-scrollbar {
    width: 10px; 
}

.strategy-list-container::-webkit-scrollbar-track {
    background: #1f2630; 
    border-radius: 5px;
}

.strategy-list-container::-webkit-scrollbar-thumb {
    background: #3a4757; 
    border-radius: 5px;
}

.strategy-list-container::-webkit-scrollbar-thumb:hover {
    background: #4a5a6d; 
}

@media (max-width: 768px) {
    
 

    th, td {
        padding: 1px !important;
        word-break: break-word;
        white-space: normal !important;
    }

    
    .strategy-panel {
        width: 100% !important;
        min-width: auto !important;
        max-width: 100% !important;
        padding: 2px;
        box-sizing: border-box;
    }

    .strategy-item {
        width: 100% !important;
        min-width: auto !important;
        max-width: 100% !important;
        flex-direction: column; 
        align-items: flex-start;
        padding: 8px;
        gap: 5px;
    }

    .strategy-name, .strategy-date, .strategy-buttons {
        width: 100% !important;
        text-align: left;
    }

    .strategy-buttons button.load-strategy {
        width: 100% !important;
        padding: 8px 12px;
        font-size: 12px;
        margin-left: 0px;
    }

    .strategy-list-container {
        max-height: none !important;
    }
}
@media (max-width: 768px) {
    button.load-strategy,
    button.save-strategy {
        font-size: 12px !important;
        padding: 6px 8px !important;
        margin-left: 0px !important;
    }

    input[type="text"].strategy-name-input {
        font-size: 12px !important;
        padding: 6px !important;
        max-width: 100% !important;
    }
}
@media (max-width: 768px) {
    .strategy-panel {
        padding: 3px !important;
    }

    .save-strategy-container {
        gap: 5px !important;
        margin-top: 8px !important;
    }

    .strategy-item {
        padding: 1px !important;
        gap: 3px !important;
        margin: 2px auto !important;
    }

    .strategy-name {
        font-size: 12px !important;
    }

    .strategy-date {
        font-size: 9px !important;
    }
}
@media (max-width: 768px) {
    .strategy-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 6px !important;
        gap: 4px !important;
        margin: 3px auto !important;
    }

    .strategy-name-date {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        width: 100%;
        flex-wrap: wrap;
    }

    .strategy-name, .strategy-date {
        font-size: 11px !important;
        text-align: center;
    }

    .strategy-buttons {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 5px;
    }

    .strategy-buttons button.load-strategy {
        width: 80% !important;
        padding: 6px 10px !important;
        font-size: 11px !important;
        margin-left: 0px !important;
    }
}
@media (max-width: 768px) {
    .chart-container {
        height: 55vh !important; 
    }
}
@media (max-width: 768px) {

    .strategy-item {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 93% !important;
        margin: 3px auto !important;
        padding: 5px !important;
        background-color: #1c2531 !important; 
        border-radius: 10px !important;
    }

    .strategy-name-date {
        width: auto !important;
        flex-grow: 1;
        display: flex;
        align-items: center;
    }

    .strategy-name {
        color: white;
        font-size: 12px !important;
        text-align: left !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .strategy-buttons {
        width: auto !important;
        display: flex;
        justify-content: flex-end;
        margin-left: 10px;
    }

    .strategy-buttons button.load-strategy {
        width: auto !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

}
.strategy-panel h3 {
    text-align: center;
    width: 100%;
}

.strategy-item.selected {
    background-color: rgba(100, 149, 237, 0.2);
    border-left: 4px solid #6495ED;
}
@media (max-width: 768px) {
  .strategy-list-container {
      max-height: 60vh;
      
  }
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}


@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}


@media (min-width: 769px) {
    .desktop-only {
        display: block !important;
    }
}


.strategy-table-container {
    width: 95%;
    margin: 30px auto;
}

.strategy-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1f2630;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.strategy-table th, .strategy-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #2c3e50;
    color: white;
}

.strategy-table th {
    background-color: #1c2531;
    font-weight: bold;
    font-size: 14px;
}

.strategy-table td {
    font-size: 13px;
}

.strategy-table button {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.strategy-table .load-strategy {
    background-color: #007BFF;
    color: white;
}

.strategy-table .email-btn {
    background-color: #2d8f6e;
    color: white;
}

.strategy-table .bot-btn {
    background-color: #f6455f;
    color: white;
}

.strategy-table button:hover {
    opacity: 0.85;
}

 .trade-table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #1f2630;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
}

.trade-table th, .trade-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #2c3e50;
    color: white;
    font-size: 13px;
}

.trade-table th {
    background-color: #1c2531;
    font-weight: bold;
    font-size: 14px;
}

.trade-table tr:nth-child(even) {
    background-color: #1a202a;
}

.trade-table tr:hover {
    background-color: #283141;
}

.trade-table span {
    font-weight: bold;
}

@media (max-width: 768px) {
    .trade-table th, .trade-table td {
        padding: 8px;
        font-size: 12px;
    }
}
 .strategy-table tr.selected {
    background-color: rgba(100, 149, 237, 0.2);
}
.strategy-table button {
    padding: 5px 6px; 
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: normal; 
    line-height: 1.2; 
    font-size: 12px; 
    width: 100px;  
    height: auto; 
    text-align: center;
}
.strategy-table th, .strategy-table td {
    padding: 6px 4px; 
    line-height: 1.1; 
    border: 1px solid #2c3e50;
    color: white;
    font-size: 12px;
}

.strategy-table tr {
    height: 30px; 
}
.strategy-table-container {
    width: 95%;
    margin: 30px auto;
   /*  max-height: 700px;  */
    overflow-y: auto; 
    border-radius: 8px;
}
th {
    cursor: pointer;
}

th:hover {
    background-color: #34495e;
}
.sort-icon {
    margin-left: 5px;
    font-size: 10px;
    color: #ccc;
}
th .sort-icon {
    opacity: 0.5;
}

th.active-sort .sort-icon {
    color: white;
    opacity: 1;
}
.sort-icons {
    display: inline-block;
    margin-left: 5px;
    font-size: 10px;
    color: #888; 
    line-height: 1;
}

.sort-icons .up,
.sort-icons .down {
    display: block;
    margin: 1px 0;
    opacity: 0.6;
    color: #888; 
}


th.active-sort .sort-icons .up,
th.active-sort .sort-icons .down {
    color: #888; 
}


th.active-sort.asc .sort-icons .up {
    color: white;
    opacity: 1;
}


th.active-sort.desc .sort-icons .down {
    color: white;
    opacity: 1;
}
.info-banner {
    background-color: #29313e;
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 8px;
    width: 95%;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.info-banner strong {
    color: #00bfff;
    font-size: 15px;
}

@media (max-width: 768px) {
    .info-banner {
        font-size: 13px;
        padding: 10px 15px;
    }
}
@media (max-width: 768px) {
    .forms-container {
        width: 100%;
        padding: 2px;
        box-sizing: border-box;
    }

    .strategy-panel-container {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }

    .strategy-panel {
        width: 100% !important;
         
    }
	
	
}

@media (max-width: 768px) {
 

  
  .strategy-panel.mobile-only::-webkit-scrollbar {
    width: 6px;
  }

  .strategy-panel.mobile-only::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
  }
}





.top-nav {
    background-color: #1f2630;
    color: #00bfff;
    padding: 8px 0;
    width: 95%;
    margin: 0 auto 10px auto;
    border-bottom: 1px solid #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 0 0 8px 8px;
}

.nav-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    padding: 0 10px;
}


.logo-title {
    color: #00bfff;
    font-size: 16px;
    font-weight: bold;
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links a {
    color: #00bfff;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 5px;
    background-color: #1f2630;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #2c3e50;
    color: white;
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #29313e;
        position: absolute;
        top: 50px;
        width: 95%;
        left: 2.5%;
        border-radius: 0 0 8px 8px;
        text-align: center;
        padding: 10px 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: block;
    }
 
    .nav-container {
        position: relative;
        justify-content: center; 
    }

    .logo-title {
        text-align: center;
    }

    .burger {
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.info-wrapper {
    font-size: 18px;
    line-height: 1.6;
}
.plan-block .plan-title,
.plan-block .plan-description,
.plan-block .plan-price,
.plan-block .pricing-btn {
    font-size: 19px;
}



.logo-title {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #00bfff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 8px rgba(0, 191, 255, 0.5);
    transition: all 0.3s ease;
}

.logo-title:hover {
    text-shadow: 2px 2px 12px rgba(0, 191, 255, 0.8);
}

.logo-highlight {
    font-size: 24px;
    color: #00bfff;
}
.logo-title {
    border: 1px solid rgba(0, 191, 255, 0.4);
    padding: 6px 12px;
    border-radius: 8px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #00bfff;
    margin: 4px 0;
}
 
.asset-column {
    white-space: normal;
    word-wrap: break-word;
    font-size: 12px;
}
.asset-column {
    max-width: 120px;
    white-space: normal;
    word-wrap: break-word;
}
@media (max-width: 480px) {
  .plan-block > div:last-child {
    width: auto !important;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .plan-price {
    font-size: 14px;
  }

  .pricing-btn {
    font-size: 13px;
    padding: 6px 10px;
  }
  .plan-block {
    width: 80% !important;
    max-width: 500px;
    margin: 0 auto 15px auto;
}
}




:root {
    --bg-main: #050816;
    --bg-card: #0b1020;
    --bg-light: #111728;

    --border-color: #232b3b;
    --border-light: rgba(0,224,255,0.25);

    --accent: #00e0ff;
    --accent-soft: rgba(0,224,255,0.2);

    --text-main: #f5f7ff;
    --text-muted: #8a94b8;
    --text-bad: #ff4d4d;
    --text-good: #00d084;

    --input-bg: #090d1a;

    --shadow-card: 0 12px 30px rgba(0,0,0,0.55);
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #141b35 0%, #050816 55%, #000 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

/* ---------- TITLES ---------- */
h1, h2, h3, h4 { font-weight: 600; margin-bottom: 14px; }

/* ============================================
   TOP INFO PANEL ABOVE TABLE
   ============================================ */
.strategy-top-panel {
    background: linear-gradient(180deg, #0d1524, #0a111d);
    padding: 28px 25px;
    border-radius: 16px;
    border: 1px solid rgba(0, 224, 255, 0.18);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    margin: 40px auto 25px auto;
    max-width: 1200px;
    text-align: center;
}

.strategy-top-panel h2 {
    font-size: 32px;
    font-weight: 700;
    color: #00e5ff;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(0,224,255,0.35);
}

.strategy-top-panel p {
    font-size: 16px;
    color: #aac3ff;
    max-width: 900px;
    margin: auto;
    line-height: 1.5;
}

/* ---------- CARDS ---------- */
.card {
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}

/* ---------- BUTTONS (GLOBAL) ---------- */
.btn {
    border: none;
    cursor: pointer;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #00e0ff, #7b61ff);
    color: #050816;
}
.btn-primary:hover { opacity: .9; transform: translateY(-2px); }

.btn-secondary {
    background: var(--bg-light);
    color: var(--accent);
    border: 1px solid var(--accent-soft);
}
.btn-secondary:hover { background: rgba(0,224,255,0.1); }

/* ---------- INPUTS ---------- */
input, select {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-main);
    outline: none;
}
input:focus, select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 6px rgba(0,224,255,0.4);
}

/* ---------- FOOTER ---------- */
.footer {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border-light);
}

/* ======================================================
   STRATEGY TABLE — CATALOG STYLE
   ====================================================== */

.strategy-table-container {
    width: 100%;
    margin: 25px auto;
    background: transparent;
}

.strategy-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(10, 15, 28, 0.92);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.55);
    font-size: 13px;
    color: var(--text-main);
}

/* ---------- TABLE HEADER ---------- */
.strategy-table thead,
.strategy-table thead tr,
.strategy-table thead th {
    background: linear-gradient(180deg,
        rgba(18,28,50,0.95) 0%,
        rgba(10,16,28,0.97) 55%,
        rgba(6,10,20,1) 100%
    ) !important;

    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    border-right: 1px solid rgba(255,255,255,0.08) !important;

    color: #d9e7ff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 0.6px !important;

    padding: 14px 12px !important;
    text-shadow:
        0 0 6px rgba(140,170,255,0.45),
        0 0 12px rgba(120,160,255,0.35);

    position: relative;
}

.strategy-table thead th::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 22%;
    width: 56%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(150,190,255,0),
        rgba(150,190,255,0.9),
        rgba(150,190,255,0)
    );
    opacity: .55;
}

.strategy-table thead th:hover {
    background: rgba(0,224,255,0.10) !important;
}

/* ---------- TABLE BODY ---------- */
.strategy-table td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 12.5px;
}

.strategy-table tr:last-child td { border-bottom: none; }

.strategy-table tr:hover { background: rgba(0,224,255,0.05); }

.strategy-table tr.selected {
    background: rgba(0,224,255,0.12);
}

/* ======================================================
   BUTTONS INSIDE TABLE
   ====================================================== */

.strategy-table .load-strategy {
    padding: 5px 12px;
    border-radius: 7px;
    background: linear-gradient(135deg, #2f3c58, #3a4672) !important;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.85;
    transition: 0.2s ease;
}

.strategy-table .load-strategy:hover {
    background: linear-gradient(135deg, #7aaeff, #9b82ff) !important;
    color: #fff !important;
    opacity: 1 !important;
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(160,180,255,0.45);
}

.strategy-table tr.selected .load-strategy {
    background: linear-gradient(135deg, #9dcaff, #afa3ff) !important;
}

/* ---------- BUY BUTTON ---------- */
.strategy-table .email-btn {
    padding: 5px 10px;
    border-radius: 7px;
    background: rgba(0,224,255,0.12);
    border: 1px solid rgba(0,224,255,0.28) !important;
    color: #00eaff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 0 6px rgba(0,224,255,0.25);
    transition: 0.2s ease;
}

.strategy-table .email-btn:hover {
    background: rgba(0,224,255,0.22);
    border-color: rgba(0,224,255,0.45) !important;
    box-shadow: 0 0 12px rgba(0,224,255,0.45);
    transform: translateY(-1px);
}

/* Desktop table coin icons */
.strategy-table .coin-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.strategy-table .coin-icon-pc {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 224, 255, 0.35);
    flex-shrink: 0;
}

.coin-label {
    display: flex;
    align-items: baseline;
}

.coin-main {
    font-size: 18px;
    font-weight: 700;
    color: #eaffff;
    text-shadow: 0 0 8px rgba(0,255,255,0.5);
    margin-right: 4px;
}

.coin-sub {
    font-size: 14px;
    opacity: 0.7;
}

.coin-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
    background: white !important;
    padding: 3px;
    box-shadow: 0 0 8px rgba(0,255,255,0.35);
}

/* ---------- COLORS ---------- */
.text-good { color: var(--text-good) !important; }
.text-bad  { color: var(--text-bad) !important; }

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    .strategy-table th,
    .strategy-table td {
        padding: 6px 6px !important;
        font-size: 11px;
    }
}

/* ======================================================
   MOBILE STRATEGY LIST — FIX & PREMIUM DESIGN
   ====================================================== */

@media (max-width: 768px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .strategy-item {
        background: rgba(15, 20, 35, 0.95);
        border: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 6px 14px rgba(0,0,0,0.45);
        border-radius: 14px;
        padding: 14px 16px;
        margin: 14px 0;
        color: #e8f1ff;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .strategy-name {
        font-size: 18px;
        font-weight: 700;
        color: #e8f1ff;
        line-height: 1.35;
    }

    .strategy-item .load-strategy {
        width: 100%;
        padding: 12px 0 !important;
        background: linear-gradient(135deg, #29344d, #3b4e77) !important;
        color: #e9f1ff !important;
        font-size: 15px !important;
        font-weight: 700;
        text-transform: uppercase;
        border-radius: 10px;
        opacity: 0.95;
        transition: 0.2s ease;
    }

    .strategy-item button {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ======================================================
   MOBILE — FIX HEADER "Active Strategy Bots"
   ====================================================== */

@media (max-width: 768px) {

    .mobile-strategy-title::before {
        display: none !important;
        content: none !important;
    }

    .mobile-strategy-title {
        text-align: center !important;
        font-size: 26px !important;
        font-weight: 800 !important;
        color: #e8f4ff !important;
        margin-top: 25px !important;
        margin-bottom: 20px !important;
        padding: 10px 0;
        text-shadow:
            0 0 8px rgba(0, 229, 255, 0.45),
            0 0 16px rgba(0, 229, 255, 0.35);
        display: block;
        width: 100%;
    }

    .mobile-strategy-title::after {
        content: "";
        display: block;
        width: 60%;
        height: 2px;
        margin: 10px auto 0 auto;
        background: linear-gradient(
            90deg,
            rgba(0,224,255,0),
            rgba(0,224,255,0.6),
            rgba(0,224,255,0)
        );
        opacity: .35;
        border-radius: 4px;
    }
}

/* ===== MOBILE: premium coin name only ===== */

@media (max-width: 768px) {

    .strategy-name {
        font-size: 22px !important;
        font-weight: 800 !important;
        color: #dff1ff !important;
        margin-bottom: 6px !important;
        text-shadow:
            0 0 6px rgba(120,180,255,0.6),
            0 0 12px rgba(120,150,255,0.35);
        letter-spacing: 0.4px;
    }

    .strategy-percent {
        font-size: 14px !important;
        color: #9ab4ff !important;
        opacity: 0.85;
        margin-bottom: 10px;
    }
}

/* === MOBILE STRATEGY LIST FIX === */
@media (max-width: 768px) {

    .strategy-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 16px;
        border-radius: 14px;
        background: rgba(20,25,40,0.92);
        border: 1px solid rgba(255,255,255,0.05);
        margin-bottom: 14px;
        box-shadow: 0 6px 14px rgba(0,0,0,0.45);
    }

    .mobile-row {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: calc(100% - 110px);
    }

    .coin-icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        flex-shrink: 0;
        box-shadow: 0 0 10px rgba(0, 224, 255, 0.35);
        background: white;
        padding: 4px;
    }

    .coin-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        width: 100%;
    }

    .coin-name {
        font-size: 20px;
        font-weight: 800;
        color: #e8f4ff;
        text-shadow: 0 0 6px rgba(120,160,255,0.75);
        text-align: center;
        margin-bottom: 6px;
    }

    .coin-stats {
        font-size: 14px;
        color: #9ab4ff;
        text-align: center;
        line-height: 1.3;
    }

    .mobile-buttons {
        display: flex;
        align-items: center;
    }

    .load-strategy {
        padding: 10px 18px !important;
        border-radius: 10px;
        background: linear-gradient(135deg, #2f3c58, #3a4672);
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700;
        opacity: 0.95;
    }
}

/* ============================
   MOBILE STRATEGY LIST (NEW)
   ============================ */

@media(max-width: 768px) {
.strategy-panel-container {
    background-color: transparent !important;
}

    .strategy-item {
        background: rgba(20,25,40,0.92);
        border: 1px solid rgba(255,255,255,0.05);
        padding: 14px 16px;
        border-radius: 14px;
        margin: 12px 0;
        box-shadow: 0 6px 14px rgba(0,0,0,0.45);
    }

    .strategy-mobile-row {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .coin-icon-wrap {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        background: radial-gradient(circle at 30% 20%, #00e0ff, #111728 65%, #050816 100%);
    }

    .coin-icon-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: white;
    }

    .strategy-mobile-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 60%;
    }

    .strategy-mobile-title {
        font-size: 20px;
        font-weight: 800;
        color: #e8f1ff;
        text-shadow: 0 0 8px rgba(120,160,255,0.5);
        margin-bottom: 2px;
        letter-spacing: 0.5px;
    }

    .strategy-mobile-percent {
        font-size: 13px;
        color: #9ab4ff;
        opacity: 0.9;
    }

    .strategy-buttons {
        margin-left: auto !important;
        display: flex;
        align-items: center;
    }

    .strategy-buttons .load-strategy {
        padding: 10px 0 !important;
        width: 86px;
        text-align: center;
        border-radius: 10px;
        background: linear-gradient(135deg, #34446a, #3f5385) !important;
        font-size: 14px;
        font-weight: 700;
        color: #eaf1ff !important;
    }
}

/* === FORCE WHITE BACKGROUND FOR ALL COIN ICONS === */
.coin-icon,
.coin-icon-pc,
.strategy-item img,
.strategy-table .coin-cell img {
    background: #ffffff !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    padding: 0px !important;
    box-shadow: 0 0 4px rgba(0,0,0,0.25) !important;
}

.strategy-panel-container {
    background-color: transparent !important;
}

/* ======================================================
   MOBILE SUPER FIX — MAKE STYLE LIKE DESKTOP
   ====================================================== */

@media (max-width: 768px) {

 

    .strategy-item {
        background: #0c1428 !important;
        border: 1px solid rgba(0,224,255,0.18) !important;
        box-shadow: 0 0 22px rgba(0,224,255,0.12) !important;
    }

    .coin-name {
        text-shadow: 0 0 10px rgba(0,224,255,0.55) !important;
    }

    .load-strategy {
        background: linear-gradient(135deg, #2d3d65, #4d5f92) !important;
        box-shadow: 0 0 14px rgba(0,224,255,0.25) !important;
    }
}
@media (max-width: 768px) {

    .strategy-name,
    .coin-name,
    .strategy-mobile-title {
        text-shadow: none !important;
        filter: none !important;
    }
}
/* === MOBILE SEMI-FULLWIDTH (not full edge) === */
@media (max-width: 768px) {

    /* Головні мобільні контейнери */
    .strategy-panel-container,
    .strategy-list-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Картки трохи вужчі ніж екран */
    .strategy-item {
        width: calc(100% - 5px) !important;  /* додаємо відступи */
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 14px !important;
        box-shadow: 0 6px 14px rgba(0,0,0,0.45) !important;
    }

    /* верхній контейнер */
    .forms-container,
    .strategy-panel {
        padding-left: 0px !important;
        padding-right: 0px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* =============================
   NEW CALCULATOR DESIGN
   ============================= */

.calc-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 20px auto 40px auto;
}

.calc-card {
    background: #0a111d;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid rgba(0,224,255,0.2);
    box-shadow: 0 0 25px rgba(0,0,0,0.45);
}

.calc-title {
    font-size: 28px;
    font-weight: 800;
    color: #00eaff;
    text-align: center;
    margin-bottom: 25px;
}

.calc-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.calc-row label {
    color: #aac3ff;
    font-size: 14px;
    margin-bottom: 6px;
}

.calc-row input,
.calc-row select {
    background: #0d1426;
    border: 1px solid rgba(0,224,255,0.25);
    padding: 10px;
    border-radius: 8px;
    color: #eaf3ff;
}

.calc-btn {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, #00eaff, #6f63ff);
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.calc-btn:hover {
    opacity: 0.9;
}

.calc-result {
    margin-top: 25px;
    color: #eaf3ff;
    text-align: center;
    font-size: 16px;
}

.calc-table {
    width: 100%;
    margin-top: 25px;
    border-collapse: collapse;
    font-size: 13px;
}

.calc-table th {
    background: #0f182b;
    padding: 8px;
    border-bottom: 1px solid rgba(0,224,255,0.2);
}

.calc-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.calc-summary {
    margin-bottom: 10px;
    line-height: 1.5;
}
/* ============================================
   NEW COMPACT INVEST SIMULATOR DESIGN
   ============================================ */

.calc-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.calc-card {
    width: 100%;
    max-width: 780px;        /* компактніше */
    padding: 24px 30px;
    background: rgba(10,16,32,0.80);
    border: 1px solid rgba(0,224,255,0.15);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

/* TITLE */
.calc-title {
    text-align: center;
    font-size: 26px;         /* було занадто велике */
    font-weight: 800;
    margin-bottom: 22px;
    color: #80eaff;
}

/* rows */
.calc-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;    /* центрує лейбли + інпути */
    margin-bottom: 14px;
}

.calc-row label {
    font-size: 14px;
    margin-bottom: 4px;
    color: #96b7ff;
    font-weight: 600;
}

/* INPUTS & SELECTS — зменшені */
.calc-row input,
.calc-row select {
    width: 70%;
    max-width: 420px;
    height: 40px;            /* було дуже високе */
    background: #0b1226;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0 10px;
    color: #e9f3ff;
    font-size: 14px;
    text-align: center;      /* центруємо текст */
}

.calc-row select option {
    text-align: center;
}

.calc-row input:focus,
.calc-row select:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 8px rgba(0,224,255,0.35);
    outline: none;
}

/* BUTTON */
.calc-btn {
    width: 70%;
    max-width: 420px;
    height: 42px;            /* нижча кнопка */
    margin: 20px auto;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #67dcff, #6d7cff);
    color: #061222;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: block;
    transition: 0.2s;
    text-align: center;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(0,224,255,0.28);
}

/* SUMMARY BOX */
#calc-summary .sumbox {
    margin: 20px auto;
    padding: 14px 20px;
    width: 80%;
    max-width: 520px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 14px;
}

/* TABLE — залишається широкою */
.calc-table {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.calc-table th,
.calc-table td {
    padding: 8px 6px;
    text-align: center;
}
/* === BOOSTED VISIBILITY FOR PERCENT COLUMNS === */
.strategy-table td[data-value] {
    font-size: 15px !important;       /* було ~12.5 → тепер більше */
    font-weight: 800 !important;      /* жирніше */
    color: #eaffff !important;        /* яскравіше */
    letter-spacing: 0.3px !important; /* читабельніше */
}

/* другі числа в колонці Gain %$ day/month */
.strategy-table td:nth-child(8),
.strategy-table td:nth-child(9) {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #dff6ff !important;
}

/* Підсилення зелених та червоних цифр */
.strategy-table td span[style*="green"] {
    font-weight: 900 !important;
    color: #00ffb7 !important;
    text-shadow: 0 0 6px rgba(0,255,170,0.35);
}

.strategy-table td span[style*="red"] {
    font-weight: 900 !important;
    color: #ff6a6a !important;
    text-shadow: 0 0 6px rgba(255,80,80,0.35);
}
/* =====================================================
   🔒 GLOBAL BUTTON STABILITY LOCK
   PURPOSE: buttons NEVER disappear on hover
   GUARANTEE: no layout / no position changes
   ===================================================== */

/* === BASE STATE === */
button,
input[type="button"],
input[type="submit"],
.btn,
.calc-btn,
.load-strategy,
.email-btn {
    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    mask: none !important;

    position: relative !important;
    z-index: 1 !important;

    backface-visibility: visible !important;
    will-change: auto !important;
}

/* === HOVER STATE (ONLY LIGHT EFFECT) === */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.btn:hover,
.calc-btn:hover,
.load-strategy:hover,
.email-btn:hover {
    opacity: 1 !important;                 /* ❌ never fade */
    visibility: visible !important;

    transform: none !important;
    filter: brightness(1.05) !important;  /* ✔ safe highlight only */

    box-shadow: 0 0 12px rgba(0, 224, 255, 0.35) !important;
}

/* === PROTECT CHILD ELEMENTS === */
button *,
.btn *,
.calc-btn *,
.load-strategy *,
.email-btn * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
}

 body {
  width: 100vw;
  overflow-x: hidden;
}


.nav3 {
  width: 100vw;
}
.wrap{
  max-width:460px;
  margin:36px auto;
  padding:0 14px;
}
body.page-centered .wrap{
  margin-top:auto;
  margin-bottom:auto;
}

@media (max-width:768px){

  body.page-centered{
    min-height:100svh;
    display:flex;
    flex-direction:column;
  }

  body.page-centered .wrap{
    margin-top:auto;
    margin-bottom:auto;
  }

  body.page-centered footer{
    margin-top:0 !important;
  }
}

