.story_automation_panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #1A237E, #3949AB);
    padding: 40px 20px;
    box-sizing: border-box;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.story_automation_panel .site-header h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: #000000;
}

.story_automation_panel .site-header a img {
    color: #000000;
    max-width: 100%;
    max-height: 160px;
    margin-bottom: 25px;
}

.story_automation_panel input[type="text"],
.story_automation_panel textarea,
.story_automation_panel select {
    width: 100%;
    max-width: 650px;
    padding: 15px;
    margin-bottom: 25px;
    border: 2px solid #3949AB;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 1.2rem;
    color: black; /* Set the text color to black */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    transition: background-color 0.3s ease;
}

.story_automation_panel input[type="text"]:focus,
.story_automation_panel textarea:focus,
.story_automation_panel select:focus {
    border-color: #5C6BC0;
    box-shadow: 0 4px 12px rgba(92, 107, 192, 0.5);
    transform: scale(1.02);
    background-color: #fff;
    color: black; /* Ensure text is black when focused */
    outline: none; /* Remove blue outline */
}

.story_automation_panel textarea {
    height: 240px;
    resize: vertical;
}

.story_automation_panel .story_automation_trigger {
    display: inline-block;
    padding: 16px 35px;
    background-color: #3949AB;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story_automation_panel .story_automation_trigger:hover {
    background-color: #5C6BC0;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.story_automation_panel .result_panel {
    margin-top: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #4CAF50;
}

@media screen and (max-width: 768px) {
    .story_automation_panel {
        padding: 30px 15px;
    }

    .story_automation_panel input[type="text"],
    .story_automation_panel textarea,
    .story_automation_panel select {
        width: 100%;
        margin-bottom: 18px;
        font-size: 1.1rem;
    }

    .story_automation_panel .story_automation_trigger {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .story_automation_panel .site-header h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .story_automation_panel .site-header a img {
        max-width: 140px;
    }
}

.story_automation_panel select {
    padding: 14px 20px 30px;
    font-size: 1.1rem;
    background-color: #f9f9f9;
    color: black; /* Set text color for dropdown */
    border-radius: 8px;
    border: 2px solid #3949AB;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    outline: none; /* Remove outline for select */
}

.story_automation_panel select:focus {
    border-color: #5C6BC0;
    box-shadow: 0 4px 12px rgba(92, 107, 192, 0.5);
    transform: scale(1.02);
    background-color: #fff;
    color: black; 
    outline: none; /* Remove blue outline for select */
}

.parent_id{
width:100%;
}
.choosen_languages{
width:100%;
}
.json_data{
width:100%;
}