body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 0;
}

.tdm-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #cc0000;
    padding: 8px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tdm-top-bar-button {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.tdm-top-bar-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.container {
    max-width: 900px;
    margin: 30px auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

h1 {
    color: #111;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 28px;
}

p {
    line-height: 1.6;
    color: #555;
    font-size: 16px;
}

/* KARŞILAMA SAYFASI */
.tool-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tool-card {
    display: block;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #cc0000;
}

.tool-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.tool-card h2 {
    margin-top: 0;
    border: none;
    font-size: 20px;
}

.tool-card p {
    font-size: 15px;
}

/* ORTAK ARAÇ STİLLERİ */
.tool-container {
    margin-top: 30px;
}

.input-textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    resize: vertical;
}

.input-text {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Kelime Sayacı */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 20px;
    text-align: center;
}

.result-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.result-value {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: #cc0000;
}

.result-label {
    font-size: 14px;
    color: #555;
}

/* Harf Dönüştürücü */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.action-btn {
    background-color: #e9e9e9;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.action-btn:hover {
    background-color: #d9d9d9;
}