body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 900px;
	max-height: 250px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.containerr {
    max-width: 800px;
    padding: 0 2rem;
    
}

.chat-container {
    background: white;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    background: #002fff;
    color: white;
    padding: 1rem;
    text-align: center;
}

.chat-header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.chat-messages {
    height: 350px;
    overflow-y: auto;
    padding: 1rem;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.bot {
    align-items: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 0.8rem 1rem;
    border-radius: 25px;
    background: #e9ecef;
}

.message.user .message-content {
    background: #007bff;
    color: white;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

#chatForm {
    display: flex;
    gap: 0.5rem;
}

#userInput {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    font-size: 1rem;
}

button {
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #0056b3;
}

.main-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    height: 50px;
    min-height: 40px;
    max-height: 60px;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    z-index: 10;
}
.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-btn {
    background: none;
    border: none;
    color: #222;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 16px;
    padding: 0 10px;
    height: 32px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    font-weight: 500;
}
.back-btn:hover {
    color: #007bff;
}

#back-to-moodle {
    background: none;
    border: none;
    color: #222;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 16px;
    padding: 0 10px;
    height: 32px;
    display: flex;
    align-items: center;
    transition: color 0.2s, transform 0.2s, background 0.2s;
    font-weight: 500;
    border-radius: 6px;
}
#back-to-moodle:hover {
    color: #fff;
    background: #ff9800;
    
}

/* Önceki .moodle-header ve .moodle-header h1 kodları artık gereksiz */
.moodle-header, .moodle-header h1 { display: none; }

.main-header h1, .main-header h5 {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 20px;
    font-weight: 400;
    color: #222;
    margin: 0;
    letter-spacing: -1px;
    text-align: left;
    line-height: 50px;
    padding: 0;
} 