* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #121212;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.content {
    background: #1e1e1e;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
}

h1 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 600;
}

p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.6;
}

.btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
    font-weight: 500;
}

.btn:hover {
    background: #34495e;
}

.btn.secondary {
    background: #404040;
    margin-top: 15px;
}

.btn.secondary:hover {
    background: #505050;
}

.payment-form {
    text-align: left;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9em;
}

.card-holder-name {
    font-size: 1.2em;
    color: #ffffff;
    padding: 10px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.card-holder-name.empty-state::before {
    content: 'Kart numarasını girdiğinizde isim otomatik görünecek';
    color: #666666;
    font-size: 0.9em;
    font-style: normal;
}

.card-holder-name:empty:not(.fade-in)::before {
    content: 'Kart numarasını girdiğinizde isim otomatik görünecek';
    color: #666666;
    font-size: 0.9em;
    font-style: normal;
}

.warning-text {
    color: #ff4444;
}

.card-name-text {
    font-size: 1.2em !important;
    color: #ffffff !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #333333;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    background: #2a2a2a;
    color: #ffffff;
}

input:focus {
    outline: none;
    border-color: #2c3e50;
}

input::placeholder {
    color: #666666;
}

input[readonly] {
    background: #222222;
    cursor: not-allowed;
    color: #999999;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.payment-page {
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .content {
        padding: 20px;
    }

    h1 {
        font-size: 1.6em;
    }

    .bank-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px 0;
    }

    .bank-logo {
        width: 140px;
        height: 35px;
    }

    .tbb-logo svg {
        width: 100%;
        height: auto;
        max-width: 300px;
    }

    .tbb-text {
        font-size: 0.8em;
        padding: 0 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }

    .content {
        padding: 15px;
    }

    .bank-logos {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
        padding: 10px 0;
    }

    .bank-logo {
        width: 100%;
        max-width: 200px;
        height: 45px;
    }

    .bank-logo svg {
        width: 100%;
        height: 100%;
    }

    h1 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }

    p {
        font-size: 0.85em;
        margin-bottom: 10px;
    }

    .btn {
        padding: 15px 20px;
        font-size: 1em;
        margin-top: 15px;
    }

    .tbb-container {
        margin-top: 20px;
    }

    .tbb-logo svg {
        width: 100%;
        max-width: 250px;
    }

    .tbb-text {
        font-size: 0.75em;
        padding: 0 10px;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .content {
        padding: 10px;
    }

    h1 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.8em;
    }

    .bank-logos {
        gap: 6px;
    }

    .bank-logo {
        max-width: 180px;
        height: 40px;
    }
}

.bank-logos {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #333333;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-items: center;
    justify-items: center;
}

.bank-logos a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
}

.bank-logo {
    width: 100%;
    max-width: 160px;
    height: 40px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.bank-logo:hover {
    transform: scale(1.05);
    opacity: 1;
    filter: brightness(1.1);
}

.tbb-container {
    margin-top: 25px;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #333333;
}

.tbb-logo {
    display: inline-block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tbb-logo svg {
    width: 400px;
    height: 120px;
    display: block;
}

.tbb-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.tbb-logo .tbb-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.tbb-text {
    font-size: 0.85em;
    color: #999999;
    margin-top: 15px;
    text-align: center;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.button-container .btn {
    min-width: 200px;
    margin: 0;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.loading-screen.show {
    opacity: 1;
    visibility: visible;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.circular {
    width: 50px;
    height: 50px;
    animation: rotate 2s linear infinite;
}

.path {
    stroke: #2c3e50;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

.loading-text {
    color: #ffffff;
    margin-top: 20px;
    font-size: 1.1em;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
} 