/* Genel Stil Sıfırlamaları ve Temel Ayarlar */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 800px; /* Maksimum genişlik ile tablet ve masaüstünde ortalama */
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Başlık (Header) Stilleri */
.main-header {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.logo img {
    max-width: 50px;
    height: auto;
    margin-right: 15px;
}

.logo-text {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
}

.logo-text sup {
    font-size: 0.5em;
    vertical-align: super;
}

/* Seçenekler (Options) Bölümü (Flexbox/Grid Esnekliği) */
.options-section {
    display: flex;
    flex-direction: column; /* Mobil için varsayılan olarak dikey sıralama */
    gap: 10px;
}

.option-row {
    display: flex;
    flex-direction: column; /* Mobil: Label üstte, input altta */
    padding: 5px 0;
    border-bottom: 1px dotted #eee;
}

.label-left {
    font-weight: bold;
    color: #555;
    margin-bottom: 3px;
}

.input-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.input-right select,
.input-right .txt-options {
    width: 100%; /* Mobil: Tüm genişliği kapla */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.input-right input[type="checkbox"] {
    margin-right: 8px;
}

.input-right label {
    font-weight: normal;
    font-size: 0.9em;
    color: #666;
}

/* Sembol Özelleştirme Alanı */
.option-symbols .input-symbol-custom {
    display: flex;
    flex-direction: column;
}

.option-symbols .input-symbol-custom label {
    margin-bottom: 5px;
}

.option-symbols .input-symbol-custom input[type="text"] {
    margin-top: 5px;
}


/* Butonlar Bölümü (Flexbox) */
.button-section {
    display: flex;
    flex-direction: column; /* Mobil: Düğmeler alt alta */
    gap: 10px;
    margin: 20px 0;
}

.button-section button {
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    flex-grow: 1;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Parola Alanı Stilleri */
.password-section {
    margin-top: 20px;
}

.password-section label {
    display: block;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.txt-password {
    width: 100%;
    min-height: 80px; /* Otomatik büyümeye rağmen minimum yükseklik */
    padding: 10px;
    border: 1px solid #007bff;
    border-radius: 4px;
    font-size: 1.1em;
    font-family: 'Consolas', 'Courier New', monospace;
    resize: vertical;
    box-sizing: border-box;
}

/* Alt Bilgi (Footer) Stilleri */
.main-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.8em;
    color: #999;
}


/* Tablet ve Masaüstü (768px ve üzeri) İçin Media Query */
@media (min-width: 768px) {
    
    /* Seçenekler Bölümü: Yan yana düzen */
    .option-row {
        flex-direction: row; /* Yatay sıralama */
        align-items: center;
		/* Padding'i 5px 0 olarak koru */
        padding: 5px 0;
    }

    .label-left {
        width: 40%; /* Etiket için alan ayırma */
        margin-bottom: 0;
    }

    .input-right {
        width: 60%; /* Giriş alanı için alan ayırma */
    }
    
    .input-right select,
    .input-right .txt-options {
        width: auto; /* Otomatik genişlik */
    }

    /* Semboller Alanı: Tekrar yatay düzeni düzeltme */
    .option-symbols .input-symbol-custom {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .option-symbols .input-symbol-custom input[type="text"] {
        flex-grow: 1; /* Sembol metin kutusunun esnekliği */
        margin-top: 0;
    }

    /* Butonlar Bölümü: Yan yana düzen */
    .button-section {
        flex-direction: row;
    }
}