﻿@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('Montserrat-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('Montserrat-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('Roboto-Bold.ttf') format('truetype');
}


body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}
table {
    border-collapse: collapse;
    width: 100%;
}
table table th,table table td {
    border: 1px solid #ffffff;
    padding: 7px;
    text-align: center;
}

.bank-name {
    font-size: 18px;
    font-weight: 700;
    
}
.al-tcmb, #tcmb-buy {
    background-color: #e8f5e9;
}
.sat-tcmb, #tcmb-sell {
    background-color: #f1f8e9;
}
.al-bigpara, #bigpara-buy {
    background-color: #e3f2fd;
}
.sat-bigpara, #bigpara-sell {
    background-color: #e8f5fa;
}
.al-truncgil, #truncgil-buy {
    background-color: #fff3e0;
}
.sat-truncgil, #truncgil-sell {
    background-color: #fff8e1;
}
.al-ortalama, #ortalama-buy {
    background-color: #f3e5f5;
}
.sat-ortalama, #ortalama-sell {
    background-color: #f5f5f5;
}

.al-harem, #harem-buy {
    background-color: #fff8e1;
}
.sat-harem, #harem-sell {
    background-color: #fffde7;
}

.currencytables {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.currency-type {
    font-size: 16px;
    font-weight: 600;
    width: 125px;
}
.pckapat {
    display:none !important;
}

@media only screen and (max-width: 768px) {
    body{
        font-size:0.9rem;     
    }
    .currencytables {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    #merkezbankasi {
        margin-bottom:5px;
    }
    #truncgil {
        margin-bottom: 5px;
    }
    #bigpara {
        margin-bottom:5px;
    }
    #ortalama {
        margin-bottom:50px;
    }
    .mobilblock {
        display:block !important;
    }
    .pckapat {
        display: table-cell !important;
        /*border-width: 0px;*/
    }
    footer {
        margin-top:50px;
    }
    td.currency-column {
        width:150px;
    }
}

@media (max-width: 768px) {
    form {
        flex-direction: column;
        padding: 15px;
        margin: 0 10px;
        border-radius: 12px;
    }

    .input-group {
        width: 100%;
        margin-bottom: 12px;
    }

    .input-group input {
        width: 100%;
        font-size: 15px;
        padding: 12px;
    }

    .select-curr select {
        padding: 12px 30px 12px 15px;
        font-size: 15px;
    }

    .fa-right-left {
        margin: 5px 0;
        padding: 12px;
        font-size: 18px;
    }

    .converter-header {
        padding: 30px 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-content h2 {
        font-size: 24px;
        margin-bottom: 0;
    }

    .date-box {
        padding: 10px 20px;
        font-size: 14px;
        margin: 0 auto;
    }

    .currency-converter-area {
        top: -20px;
    }

    .currencytables {
        padding: 0 10px;
    }

    #merkezbankasi, #truncgil, #bigpara, #ortalama, #haremaltin {
        margin-bottom: 15px;
    }

    table {
        font-size: 14px;
    }

    .currency-type {
        width: 110px;
        font-size: 14px;
    }

    .bank-name {
        font-size: 16px;
        padding: 10px 5px;
    }
}

form {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    max-width: 910px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(255, 108, 47, 0.15);
    border-top: 2px solid rgba(255, 108, 47, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(255, 108, 47, 0.05);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

form:hover {
    border-top-color: rgba(255, 108, 47, 0.3);
    box-shadow: 0 12px 25px rgba(255, 108, 47, 0.08);
    transform: translateY(-1px);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.input-group:focus-within {
    box-shadow: 0 2px 15px rgba(255, 108, 47, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 108, 47, 0.3);
}

.input-group input {
    border:none;
    font-size: 16px;
    width: 200px;
    background: transparent;
    outline: none;
}

.input-group input:focus {
    box-shadow: none;
    color: #FF6C2F;
}

.select-curr {
    position: relative;
    width: 100px;
}

.select-curr select {
    border: none;
    padding: 15px 35px 15px 20px;
    font-size: 16px;
    background: transparent;
    cursor: pointer;
    appearance: none;
    outline: none;
    width: 100%;
}

.select-curr .fa-chevron-down {
    position: absolute;
    top: 50%;
    right: 15px;
    font-size: 14px;
    color: #FF6C2F;
    opacity: 0.8;
    pointer-events: none;
    transform: translateY(-50%);
}

.fa-right-left {
    font-size: 20px;
    color: #FF6C2F;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 10px rgba(255, 108, 47, 0.1);
    transition: all 0.3s ease;
}

.fa-right-left:hover {
    background: rgba(255, 108, 47, 0.1);
    transform: rotate(180deg);
    box-shadow: 0 2px 15px rgba(255, 108, 47, 0.2);
}

#result {
    text-align: center;
    font-weight: 500;
    color: #333;
}
.date-container {
    display: none;
}

.date-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 108, 47, 0.1);
    font-size: 15px;
    color: #333;
    margin: 0;
    border: 1px solid rgba(255, 108, 47, 0.15);
}

.date-box i {
    color: #FF6C2F;
    opacity: 0.9;
    font-size: 16px;
}

.converter-header {
    background: linear-gradient(to right, rgba(255, 108, 47, 0.25), rgba(255, 108, 47, 0.3), rgba(255, 108, 47, 0.25));
    background-image: url('../images/bg.png');
    padding: 60px 20px;
    position: relative;
    border-bottom: 1px solid rgba(255, 108, 47, 0.2);
}

.header-content {
    max-width: 910px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #FF6C2F;
    text-shadow: 0 2px 4px rgba(255, 108, 47, 0.1);
}

.header-content p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
    color: black;
    line-height: 1.5;
}

.select-curr select:focus {
    color: #FF6C2F;
}
.currency-converter-area{
    position: relative;
    top: -30px;
}

.navbar {
    padding: 15px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container-fluid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-brand {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}