/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.app-header {
    text-align: center;
    margin-bottom: 30px;
}

.app-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.app-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Chat Container */
.chat-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message-content {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 18px;
    position: relative;
    line-height: 1.5;
}

.user-message {
    align-items: flex-end;
}

.user-message .message-content {
    background-color: #2e86de;
    color: white;
    border-top-right-radius: 4px;
}

.coach-message {
    align-items: flex-start;
}

.coach-message .message-content {
    background-color: #f1f2f6;
    color: #333;
    border-top-left-radius: 4px;
}

.message-sender {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.chat-input-container {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
}

#user-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 12px 15px;
    font-size: 1rem;
    resize: none;
    font-family: inherit;
}

.send-button {
    background-color: #2e86de;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0 20px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.send-button:hover {
    background-color: #1c73c5;
}

/* Pitch Preview */
.pitch-preview-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.pitch-preview-container h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.pitch-content {
    white-space: pre-line;
    line-height: 1.6;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.action-button {
    flex: 1;
    min-width: 120px;
    background-color: #2e86de;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.action-button:hover {
    background-color: #1c73c5;
}

/* Action Results */
.action-results {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.action-results h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#action-content {
    white-space: pre-line;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .chat-messages {
        height: 350px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-button {
        width: 100%;
        margin-bottom: 10px;
    }
}