/* Outer container */
.outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 1200px;
    background: #000; /* Black background */
    border-radius: 50px; /* Rounded corners */
    margin: 60px auto;
    padding: 50px 100px;
    box-sizing: border-box;
    border: none;
}

/* Form container styling */
#form-container {
    text-align: center;
    margin: 50px 0;
}

#form-container h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #fff;
}

#ai-analyze-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* URL Input Styling */
#ai-analyze-form input {
    width: 600px;
    max-width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ffffff;
    border-radius: 12px;
    font-size: 16px;
    background: #000;
    color: #fff;
    transition: background-color 0.2s;
}

#ai-analyze-form input:focus {
    background: #333;
    color: #fff;
    outline: none;
}

/* Analyze Button */
#analyze-button-container {
    position: relative;
    width: 200px;
    height: 50px;
}

#analyze-button {
    width: 100%;
    height: 100%;
    background: #fff;
    color: #000;
    border: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

#analyze-button.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Loading Bar */
#loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #fff 0%, #595353 100%);
    border-radius: 12px;
    transition: width 1s linear;
    display: none;
}

#loading-bar.show {
    width: 100%; /* Loading animation progress */
    display: block;
}

/* AI response container styling */
.ai-response-container {
    margin-top: 20px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #000;
    color: #fff;
    text-align: start;
    font-size: 16px;
    line-height: 1.5;
    display: none;
}

.ai-response-container.show {
    display: block;
}
