* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.chat-container {
    width: 100%;
    max-width: 800px;
    height: 90vh;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    margin: 20px;
}

.chat-header {
    background: #075E54;
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #E5DDD5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 10px;
    position: relative;
    word-wrap: break-word;
    animation: fadeIn 0.3s ease-in-out;
}

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

.message:not(.mine) {
    background: white;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.message.mine {
    background: #DCF8C6;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.message strong {
    color: #075E54;
    font-size: 0.9em;
    display: block;
    margin-bottom: 3px;
}

.chat-input {
    padding: 15px;
    background: #f0f0f0;
    display: flex;
    gap: 10px;
    border-radius: 0 0 10px 10px;
}

#message-input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 20px;
    outline: none;
    font-size: 16px;
    background: white;
}

#send-button {
    background: #128C7E;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#send-button:hover {
    background: #075E54;
}

/* Mobil için responsive tasarım */
@media (max-width: 600px) {
    .chat-container {
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .chat-header {
        border-radius: 0;
    }

    .message {
        max-width: 85%;
    }

    #message-input {
        font-size: 14px;
    }

    #send-button {
        padding: 0 15px;
        font-size: 14px;
    }
}