﻿ 
.ai-wrapper {
    height: 100vh;
    background: url('/images/ai-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding-top: 80px;
}

.ai-box {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1500px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}


.textarea-wrapper {
    position: relative;
    width: 100%;
    max-width: 1500px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ai-textarea {
    width: 100%;
    height: 700px; /* Increased height */
    font-size: 14px; /* Reduced font size */
    font-weight: 500;
    text-align: left;
    padding: 20px;
    padding-right: 140px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    resize: vertical;
}


    .ai-textarea::placeholder {
        color: #ddd;
        font-style: italic;
    }

.ai-button {
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: #6a5acd;
    border: none;
    color: white;
    font-weight: 600;
    transition: background 0.3s;
    margin-bottom: 10px;
    align-self: flex-end;
}

    .ai-button:hover {
        background-color: #483d8b;
    }

.result-box {
    width: 100%;
    max-width: 1500px;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    white-space: pre-wrap;
   
}

    .result-box pre {
        color: white;
        font-size: 14px;
    } 
