* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gellix', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    display: flex;
    padding: 20px;
    gap: 20px;
}

.shop-container {
    background: rgba(28, 28, 30, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: absolute;
    left: 150px !important;
    top: 47px !important;
    right: 150px !important;
    bottom: 24px !important;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    z-index: 10000;
}

.shop-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}

.shop-cart {
    background: #242426;
    padding: 15px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    right: 0;
    top: 100px;
    width: 400px;

}

.card-max-width {
    width: 100%;
}

/* Chat Container Styles */
.chat-container {
    background: rgba(28, 28, 30, 0.95);
    max-width: 466px;
    min-width: 320px;
    height: calc(100vh - 200px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: #242426;
    padding: 15px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h2 {
    font-size: 1.1rem;
    color: #e0e0e0;
}

.user-info p {
    font-size: 0.9rem;
    color: #888;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #1c1c1e;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

.received {
    background: #2c2c2e;
    color: #e0e0e0;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.sent {
    background: #667eea;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message-time {
    font-size: 0.7rem;
    color: #666;
    margin-top: 5px;
    text-align: right;
}

.message.sent .message-time {
    color: white;
}

.chat-input {
    padding: 15px;
    background: #242426;
    border-top: 1px solid #333;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px;
    border: 2px solid #333;
    border-radius: 25px;
    outline: none;
    background: #1c1c1e;
    color: #e0e0e0;
}

.chat-input button {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    cursor: pointer;
}

/* Development Area Styles */
.development-area {
    flex: 1;
    background: rgba(28, 28, 30, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    top: 0px;
    right: 20px;
    bottom: 0px;
    left: 510px;
}

.dev-header {
    background: #242426;
    padding: 15px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dev-header h2 {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.dev-tabs {
    display: flex;
    gap: 10px;
}

.dev-tab {
    padding: 8px 16px;
    background: #1c1c1e;
    color: #e0e0e0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.dev-tab.active {
    background: #667eea;
}

.dev-content {
    flex: 1;
    display: flex;
    padding: 20px;
    gap: 20px;
    background: #1c1c1e;
    overflow: auto;
}

.preview-area {
    flex: 1;
    background: white;
    border-radius: 10px;
    overflow: auto;
}

.code-area {
    flex: 1;
    background: #2c2c2e;
    border-radius: 10px;
    padding: 15px;
    color: #e0e0e0;
    font-family: monospace;
    white-space: pre-wrap;
    overflow: auto;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1c1c1e;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .chat-container {
        width: 100%;
        height: 40vh;
    }

    .development-area {
        height: 60vh;
    }
}

.code-area {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-color: #2c2c2e;
}

/* Add specific styles for TinyMCE */
.tox-tinymce {
    border: none !important;
    border-radius: 10px !important;
    height: 100% !important;
    min-height: 500px !important;
}

#codeAreaContainer {
    position: relative;
    flex: 1;
    margin: 0;
    padding: 0;
}

.editor-container {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #242426;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    margin: -50px 0-0-0;
    padding: 0;
}

.toolbar {
    background-color: #242426;
    padding: 10px;
    border: 1px solid #333;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.toolbar button {
    padding: 6px 12px;
    background-color: #1c1c1e;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #e0e0e0;
}

.toolbar button:hover {
    background-color: #2c2c2e;
}

.toolbar button.active {
    background-color: #667eea;
    border-color: #667eea;
}

.toolbar select {
    padding: 6px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 14px;
    background-color: #1c1c1e;
    color: #e0e0e0;
}

.editor-content {
    border: 1px solid #333;
    border-radius: 0 0 4px 4px;
    overflow-y: auto;
    background-color: #fff;
    color: #000;
    flex: 1;
    min-height: 0;
}

.editor-content:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(10, 132, 255, .25);
}

.color-picker {
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.separator {
    width: 1px;
    background-color: #ddd;
    margin: 0 5px;
    align-self: stretch;
}

.code-area {
    flex: 1;
    background: #2c2c2e;
    border-radius: 10px;
    padding: 0;
    color: #e0e0e0;
    font-family: monospace;
    white-space: pre-wrap;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.circle-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-circle.active {
    background-color: #0d6efd;
    color: white;
}

.step-line {
    height: 2px;
    width: 60px;
    background-color: #e9ecef;
}

.step-line.active {
    background-color: #0d6efd;
}

.step-text {
    font-size: 0.9rem;
    color: #6c757d;
}

.step-text.active {
    color: #0d6efd;
}

.editor-main-container {
    position: absolute;
    top: 100px;
    bottom: 100px;
    right: 40px;
    left: 40px;
}

.carousel-main-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Carousel Styles */
.carousel-main-container .carousel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.carousel-main-container .carousel {
    display: flex;
    position: absolute;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-main-container .carousel-slide {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    opacity: 0.3;
    background-size: cover;
    background-position: center;
}

/* Chat Interface Styles */
.carousel-main-container .chat-start-container {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 900px;
    text-align: center;
    position: absolute;
    left: 50%;
    margin-left: -450px;
    top: 25%;
    margin-top: -100px;
}

.carousel-main-container .search-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    padding: 8px 16px;
    transition: box-shadow 0.2s;
}

.carousel-main-container .search-container:hover,
.carousel-main-container .search-container:focus-within {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-color: transparent;
}

.carousel-main-container .chat-start-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 0;
    background-color: transparent;
    color: white;
}

.carousel-main-container .chat-start-input::placeholder {
    color: #9aa0a6;
}

.carousel-main-container h1 {
    color: #FFF;
    font-size: 24px;
    margin-bottom: 16px;
}

.carousel-main-container .template {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-image-big {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.steps-title {
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
}

.step-card {
    background: #1f2937;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 32px;
    color: #3b82f6;
}

.step-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
    }
    
    .step-card {
        width: 100%;
    }
    
    .steps-container {
        width: 95%;
        margin: 20px auto;
    }
}

/* CSS remains the same */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #111827;
    color: #e5e7eb;
}

.navbar-custom {
    background-color: #1f2937;
    border-bottom: 1px solid #374151;
    padding: 0.75rem 1rem;
    position: absolute;
    justify-content: space-between;
    padding-top: .5rem;
    padding-bottom: .5rem;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3rem;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    left: 30px;
}

.logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #f3f4f6;
}

.nav-button {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: transparent;
    border: none;
    color: #e5e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.nav-button:hover {
    background-color: #374151;
}

.search-top-container {
    flex: 1;
    width: 500px;
    max-width: 500px;
    margin: 0 5rem;
    position: relative;
    display: flex;
    align-items: center;
    left: 50%;
    margin-left: -250px;
}

.search-input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid #374151;
    background-color: #374151;
    color: #e5e7eb;
    font-size: 0.875rem;
}

.search-input:focus {
    outline: none;
    border-color: #60a5fa;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    right: 30px;
}

.notification-indicator {
    position: relative;
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
}

.avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    color: #e5e7eb;
    border: none;
}

.avatar:hover {
    background-color: #4b5563;
}

.dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 12rem;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: none;
}

.dropdown.active {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #e5e7eb;
    text-decoration: none;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #374151;
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background-color: #374151;
}

.feather {
    width: 20px;
    height: 20px;
}