/* ================================================================
   convertor.css - Stiluri pagina Convertor Valutar
   ================================================================ */

.conv-hero { margin-bottom: 28px; }

.conv-titlu {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.2;
}

.conv-subtitlu {
    font-size: 15px;
    color: #5a6178;
    line-height: 1.7;
}
.conv-subtitlu a { color: #2980b9; text-decoration: none; font-weight: 600; }
.conv-subtitlu a:hover { text-decoration: underline; }

.conv-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(41,128,185,.10);
    border: 1px solid #e8edf4;
    padding: 28px 28px 26px;
    margin-bottom: 20px;
}

/* Rezultat */
.conv-result-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.conv-result-bloc { flex: 1; min-width: 160px; }
.conv-result-lbl  {
    font-size: 11px; font-weight: 600; color: #95a5a6;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px;
}
.conv-result-val  {
    font-family: 'Roboto Mono', monospace;
    font-size: 28px; font-weight: 500; color: #2c3e50;
}
.conv-result-main .conv-result-val {
    font-size: 36px; color: #2980b9; font-weight: 700;
}
.conv-result-cod  { font-size: 16px; color: #7f8c8d; font-weight: 400; }
.conv-equals      { font-size: 32px; color: #dde3ec; font-weight: 300; flex-shrink: 0; }

.conv-rate-info {

    font-size: 13px; color: #7f8c8d;
    background: #f8fafc; border-radius: 8px;
    padding: 8px 11px; margin-bottom: 24px; display: inline-block;
}

/* Campuri */
.conv-fields {
    display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
}
.conv-field-wrap { flex: 1; min-width: 160px; }
.conv-label {
    display: block; font-size: 12px; font-weight: 600; color: #7f8c8d;
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: .07em;
}

.conv-input {
    width: 100%; padding: 12px 16px;
    font-size: 22px; font-family: 'Roboto Mono', monospace; font-weight: 500;
    color: #2c3e50; background: #f8fafc;
    border: 2px solid #dde3ec; border-radius: 10px;
    outline: none; transition: border-color .15s;
    -moz-appearance: textfield;
}
.conv-input:focus { border-color: #2980b9; background: #fff; }
.conv-input::-webkit-outer-spin-button,
.conv-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.conv-select-wrap {
    display: flex; align-items: center;
    background: #f8fafc; border: 2px solid #dde3ec;
    border-radius: 10px; overflow: hidden; transition: border-color .15s;
}
.conv-select-wrap:focus-within { border-color: #2980b9; background: #fff; }

.conv-flag {
    width: 52px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-right: 1px solid #dde3ec; flex-shrink: 0; background: #fff;
}
.conv-flag img {
    width: 36px; height: 24px; object-fit: cover;
    border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.conv-flag span {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px; font-weight: 600; color: #7f8c8d;
}

.conv-select {
    flex: 1; padding: 12px 10px;
    font-size: 15px; font-weight: 600; color: #2c3e50;
    background: transparent; border: none; outline: none; cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237f8c8d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* Swap */
.conv-swap-wrap {
    display: flex; align-items: flex-end;
    padding-bottom: 4px; flex-shrink: 0;
}
.conv-swap {
    width: 46px; height: 50px;
    background: #eef2f7; border: 2px solid #dde3ec; border-radius: 10px;
    font-size: 22px; color: #2980b9; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .14s, border-color .14s;
}
.conv-swap:hover { background: #2980b9; border-color: #2980b9; color: #fff; }

/* Buton calculeaza */
.conv-btn-wrap { margin-top: 20px; text-align: center; }
.conv-btn-calcul {
    background: #2980b9; border: none; color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px; font-weight: 700;
    padding: 13px 48px; border-radius: 10px; cursor: pointer;
    transition: background .14s; letter-spacing: .02em;
}
.conv-btn-calcul:hover { background: #1a6fa0; }

/* Statistici */
.conv-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-bottom: 20px;
}
.conv-stat {
    background: #fff; border: 1px solid #e8edf4;
    border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
    padding: 16px 18px; text-align: center;
}
.conv-stat-lbl {
    font-size: 11px; font-weight: 600; color: #95a5a6;
    text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px;
}
.conv-stat-val {
    font-family: 'Roboto Mono', monospace;
    font-size: 20px; font-weight: 600; color: #2c3e50; margin-bottom: 4px;
}
.conv-stat-sub { font-size: 11px; color: #b2bec3; }

/* Responsive */
@media (max-width: 800px) { .conv-stats-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 600px) {
    .conv-titlu { font-size: 22px; }
    .conv-box   { padding: 18px 16px; }
    .conv-result-val { font-size: 22px; }
    .conv-result-main .conv-result-val { font-size: 28px; }
    .conv-fields { flex-direction: column; }
    .conv-field-wrap { width: 100%; }
    .conv-swap-wrap { display:none; width: 100%; justify-content: center; padding-bottom: 0; }
    .conv-swap  { width: 100%; }
    .conv-btn-calcul { width: 100%; }
}

/* Conversii rapide - 2 tabele side by side */
.conv-rapide-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .conv-rapide-wrap {
        grid-template-columns: 1fr;
    }
}
