@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Genel Sayfa Ayarları */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f7fb;
    color: #333;
    line-height: 1.6;
}

/* Ana Container */
.container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}
 .button-container {
            margin-top: 10px;
            display: flex;
            gap: 10px; /* Butonlar arasında boşluk bırakır */
        }
        .button {
            padding: 10px 20px;
            background-color: #007BFF;
            color: white;
            text-decoration: none;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            text-align: center;
        }
        .button:hover {
            background-color: #0056b3; /* Hover efekti */
        }

/* Başlık */
h1 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 30px;
    font-size: 36px;
    font-weight: 700;
}

/* Sekmeler */
.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    border-bottom: 2px solid #e1e5eb;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    background-color: #f3f7fb;
    border: 1px solid #e1e5eb;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.tab.active {
    background-color: #ffffff;
    color: #1e3a8a;
    border-bottom: 3px solid #1e3a8a;
    font-weight: 700;
}

.tab:hover {
    background-color: #e0e7ff;
}

/* İçerik Alanı */
.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

/* Tablo Gösterimi */
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.results-table thead {
    background-color: #1e3a8a;
    color: white;
    font-weight: 700;
}

.results-table th, .results-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.results-table td {
    background-color: #f9fafc;
}

/* Kart Gösterimi */
.results-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.result-card {
    flex: 1 1 calc(33.333% - 15px); /* 3 sütun düzeni */
    max-width: 300px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.6;
}

.result-card h3 {
    font-size: 16px;
    color: #1e3a8a;
    margin-bottom: 10px;
    text-align: center;
}

.result-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-card ul li {
    font-size: 14px;
    color: #374151;
    margin-bottom: 5px;
}

.result-card ul li:last-child {
    margin-bottom: 0;
}

/* Textbox ve Textarea Tasarımı */
textarea, input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9fafc;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

textarea:focus, input[type="text"]:focus {
    background-color: #ffffff;
    border-color: #1e3a8a;
    box-shadow: 0 0 8px rgba(30, 58, 138, 0.3);
    outline: none;
}

textarea {
    resize: vertical; /* Boyutlandırmayı sadece dikeyde sınırlayın */
    min-height: 100px; /* Minimum yükseklik */
}

/* Butonlar */
button {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background-color: #1e3a8a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin-top: 10px;
}

button:hover {
    background-color: #1d4ed8;
    box-shadow: 0px 4px 8px rgba(29, 78, 216, 0.2);
}

button:active {
    background-color: #1b3c8a;
}

button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}
.clear-list-container {
    margin-top: 20px;
    text-align: center;
}

.clear-list-button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background-color: #e63946;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.clear-list-button:hover {
    background-color: #d62839;
    box-shadow: 0px 4px 8px rgba(214, 40, 57, 0.2);
}

.clear-list-button:active {
    background-color: #b71c1c;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .result-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    textarea, input[type="text"] {
        font-size: 14px;
        padding: 10px;
    }

    button {
        width: 100%;
        font-size: 14px;
        padding: 10px;
    }
}
