File size: 1,748 Bytes
9058b09
 
 
 
 
70de6b4
 
9058b09
 
 
 
 
 
70de6b4
 
9058b09
 
70de6b4
 
9058b09
 
70de6b4
 
9058b09
 
 
 
 
 
 
70de6b4
9058b09
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* Custom styles that can't be done with Tailwind */
.loading-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4F46E5;
    animation: bounce 1.4s infinite ease-in-out;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% { 
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Code panel specific styles */
#html-code, #css-code, #js-code, #json-output {
    font-family: 'Fira Code', 'Courier New', monospace;
    line-height: 1.5;
    tab-size: 2;
}

/* Iframe styling */
#iframe-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Message bubbles */
.message-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    line-height: 1.4;
    word-wrap: break-word;
}

.user-message {
    background-color: #4F46E5;
    color: white;
    align-self: flex-end;
}

.assistant-message {
    background-color: #f3f4f6;
    color: #111827;
    align-self: flex-start;
}

/* Quick gen button animations */
.quick-gen-btn {
    transition: all 0.2s ease;
}

.quick-gen-btn:hover {
    transform: translateY(-2px);
}

.quick-gen-btn:active {
    transform: translateY(0);
}