/* Custom styles for KaffeeAroma Theme */

/* Example: Additional styles or overrides */
.site-logo .ki-badge {
    background-color: #4CAF50;
    color: white;
    padding: 0.2em 0.5em;
    border-radius: 5px;
    font-size: 0.7em;
    margin-left: 5px;
    vertical-align: middle;
}

/* Three.js specific styles */
#coffee-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Ensure canvas background is transparent */
}

.threejs-container {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* KI Chat Interface specific styles */
.ki-chat-interface {
    margin-top: 2rem;
}

.ki-chat-messages {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fefefe;
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ki-message {
    display: flex;
    margin-bottom: 10px;
}

.ki-message.user {
    justify-content: flex-end;
}

.ki-message.ai {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
    word-wrap: break-word;
}

.ki-message.user .message-bubble {
    background-color: #D2691E;
    color: white;
    border-bottom-right-radius: 2px;
}

.ki-message.ai .message-bubble {
    background-color: #f0f0f0;
    color: #333;
    border-bottom-left-radius: 2px;
}

.ki-input-form {
    display: flex;
    margin-top: 1rem;
}

.ki-input-field {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin-right: 10px;
}

.ki-send-btn {
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.ki-send-btn:hover {
    background-color: #D2691E;
}

.ki-beta-note {
    font-size: 0.8em;
    color: #666;
    margin-top: 15px;
    text-align: center;
}

/* Google AdSense specific styles */
.adsense-ad-container {
    margin: 2rem auto;
    text-align: center;
    max-width: 728px; /* Example max-width for a common ad size */
    background-color: #f8f8f8;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
}

.adsense-ad-container .ad-label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.5rem;
}

/* Buy Me a Coffee button styling */
.bmc-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #FFDD00; /* BMC yellow */
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.bmc-button:hover {
    background-color: #FFE55C;
    color: #000000;
}

.bmc-button img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ki-chat-messages {
        max-height: 300px;
    }
    .message-bubble {
        max-width: 90%;
    }
    .ki-input-form {
        flex-direction: column;
    }
    .ki-input-field {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


