body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; 
    background: #000000; 
    color: #ffffff; 
    margin: 0; 
    padding: 20px;
    min-height: 100vh;
}

.container { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 32px; 
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); 
    border-radius: 16px; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
}

h1 { 
    margin-top: 0; 
    color: #ffffff; 
    font-size: 2.5em; 
    font-weight: 700; 
    text-align: center; 
    background: linear-gradient(135deg, #00d4ff, #ff006e, #ffbe0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 32px;
}

form { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
}

label {
    color: #e0e0e0;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1em;
}

textarea { 
    width: 100%; 
    padding: 16px; 
    font-size: 16px; 
    background: #333333; 
    border: 2px solid #404040; 
    border-radius: 12px; 
    color: #ffffff; 
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
    background: #3a3a3a;
}

button { 
    align-self: flex-start; 
    padding: 14px 24px; 
    background: linear-gradient(135deg, #00d4ff, #0099cc); 
    color: #ffffff; 
    border: none; 
    border-radius: 12px; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: 600; 
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, #0099cc, #00d4ff);
}

button:active {
    transform: translateY(0);
}

.card { 
    margin-top: 24px; 
    padding: 24px; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px; 
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.card h2 {
    color: #00d4ff;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 600;
}

.mono { 
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace; 
    white-space: pre-wrap; 
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #00d4ff;
    line-height: 1.6;
    font-size: 14px;
}

/* Loading animations */
.loading-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.loading-card {
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: rgba(0, 212, 255, 0.3) !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.loading-animation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
}

.dot {
    width: 12px;
    height: 12px;
    background: #00d4ff;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2a2a2a;
}

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

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