body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    margin-top: 20px;
    font-size: 24px;
    color: #222;
}

.input-container {
    position: relative;
    width: 80%;
    max-width: 800px;
}


textarea {
    width: 100%;
    height: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    resize: none;
}

.top-buttons, .bottom-buttons {
    width: 80%;
    max-width: 800px;
    text-align: center;
    margin: 0 auto 15px auto;
}

/* Tekerleme Ekle Butonu */
.generate-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #ff5722;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.generate-btn:hover {
    background-color: #e64a19;
}

.generate-btn i {
    font-size: 16px;
}

/* Çıktı Alanı ve Kopyala Butonu */
.output-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.output-container textarea {
    width: 100%;
    height: 120px;
    border: none;
    outline: none;
    resize: none;
    font-size: 16px;
    background: none;
    color: #333;
}

/* Kopyala Butonu */
.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.copy-btn:active {
    background-color: #003d80;
}

/* Diğer Butonlar */
button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Buton Renkleri */
.replace-btn {
    background-color: #007bff;
}

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

.uppercase-btn {
    background-color: #28a745;
}

.uppercase-btn:hover {
    background-color: #218838;
}

.lowercase-btn {
    background-color: #ffc107;
    color: #333;
}

.lowercase-btn:hover {
    background-color: #e0a800;
}

.camelcase-btn {
    background-color: #17a2b8;
}

.camelcase-btn:hover {
    background-color: #117a8b;
}

button:active {
    opacity: 0.8;
}

button:disabled {
    background-color: #999;
    cursor: not-allowed;
}


footer {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
    text-align: center;
}