body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

/* Шапка */
header {
    background: #006400;
    color: white;
    padding: 15px;
      display: flex;
      align-items: center;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;

}

header .back {
    font-size: 22px;
    margin-right: 15px;
    cursor: pointer;
}

header h1 {
    margin: 0;
    font-size: 18px;
}

header .logo {
width: 35px;
    height: 35px;
    vertical-align: middle;
    margin-right: 4px;
}


.actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 25px;
    padding: 8px 15px;
    margin-bottom: 15px;
}

.actions div {
    font-size: 18px;
    cursor: pointer;
}

.flag {
    font-size: 50px;
    margin-bottom: 10px;
}

header h1 {
    margin: 5px 0;
    font-size: 20px;
}

header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

/* Баннеры */
.banner {
    margin: 15px auto;
    max-width: 900px;
    padding: 15px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    max-width: 90%;
}

.banner.telegram {
    background: #1e90ff;
}

.banner.banks {
    background: #0077b6;
}

.banner.converter {
    justify-content: space-between;
}

.banner.converter .just-clicker {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #28a745, #006400);
    border-radius: 12px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: #fff;
}

.banner.converter .just-clicker .icon {
    font-size: 22px;
}

.banner.converter .just-clicker:hover {
    background: linear-gradient(135deg, #34d058, #008000);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
}


/* Список валют */
.container {
    max-width: 900px;
    margin: 10px auto;
    padding: 0 15px;
}

h2 {
    margin: 15px 0 10px;
    font-size: 18px;
}

.currency {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.currency-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-left img {
    width: 36px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
}

.currency-left .info {
    display: flex;
    flex-direction: column;
}

.currency-left .info span:first-child {
    font-weight: bold;
}

.currency-right {
    font-weight: bold;
    color: #006400;
}

/* Кнопка */
.add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #dfdfdf;
    color: rgb(27, 27, 27);
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    margin: 20px auto;
    cursor: pointer;
    max-width: 250px;
    text-decoration: none;
}

.add-btn:hover {
    background: #004d00;
}

.update-time {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}


/* Адаптивность */
@media (max-width: 600px) {
    header h1 {
        font-size: 18px;
    }

    .currency-left img {
        width: 30px;
        height: 20px;
    }
}



/*currrency list*/
/* Поиск */
.search-box {
    background: white;
    border-radius: 25px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    margin: 15px auto;
    max-width: 90%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.search-box .icon {
    margin-right: 10px;
    font-size: 16px;
    color: #666;
}

/* Список валют */
.currency {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 12px;
    border-radius: 12px;
    margin: 0 auto 10px;
    max-width: 90%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.currency-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-left img {
    width: 36px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
}

.currency-left .info {
    display: flex;
    flex-direction: column;
}

.currency-left .info span:first-child {
    font-weight: bold;
}

.currency-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-price {
    font-weight: bold;
    color: #002400;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 16px;
    }

    .currency-left img {
        width: 30px;
        height: 20px;
    }
}


/*converter currency*/
/* Основная валюта */
.base-currency {
    background: white;
    margin: 20px auto 15px;
    max-width: 90%;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: space-between;
}

.base-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.base-left img {
    width: 32px;
    height: 22px;
    border-radius: 3px;
}

.base-right input {
    width: 100px;
    border: none;
    text-align: right;
    font-size: 16px;
    font-weight: bold;
}

.calc-input {
    display: flex;
    align-items: center;
    background: rgb(245, 245, 245);
    border-radius: 25px;
    padding: 8px 12px;
    margin-top: 12px;
    margin-bottom: 3px;
}

.calc-input input {
    border: none;
    outline: none;
    background: rgb(245, 245, 245);
    flex: 1;
    font-size: 22px;
    text-align: right;
}

/* Список валют */
.currency-card {
    background: white;
    margin: 0 auto 12px;
    max-width: 90%;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.currency-left {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.currency-left img {
    width: 28px;
    height: 20px;
    border-radius: 3px;
}

select {
    border: none;
    font-size: 14px;
    font-weight: bold;
    background: transparent;
    outline: none;
}

.currency-right input {
    width: 80px;
    border: none;
    text-align: right;
    font-size: 16px;
}

/*banks list*/
/* Карточки банков */
    .bank-card {
      background: white;
      border-radius: 12px;
      padding: 15px;
      margin-bottom: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .bank-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }

    .bank-logo {
      width: 40px;
      height: 40px;
      background: #eee;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }

    .bank-name {
      font-weight: bold;
      font-size: 16px;
    }

    /* Таблица */
    table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 10px;
    }

    table th, table td {
      text-align: center;
      padding: 8px;
      border-bottom: 1px solid #ddd;
      font-size: 14px;
    }

    table th {
      color: #666;
    }

    .currency-row {
      display: flex;
      gap: 8px;
      margin-left: 10px;
    }

    .currency-row img {
      width: 24px;
      height: 16px;
      object-fit: cover;
    }

    /* Подвал карточки */
    .bank-footer {
      font-size: 12px;
      color: #666;
      margin-bottom: 10px;
    }

    .bank-actions {
      display: flex;
      gap: 10px;
    }

    .btn {
      flex: 1;
      text-align: center;
      padding: 10px;
      border-radius: 20px;
      border: none;
      cursor: pointer;
      font-size: 14px;
    }

    .btn.calc {
      background: #ccffcc;
      color: #222;
    }

    .btn.share {
      background: #f0f0f0;
    }

    /* Адаптивность */
    @media (max-width: 600px) {
      header h1 {
        font-size: 16px;
      }
      table th, table td {
        font-size: 12px;
      }
    }