/* General Container Styling */
.control-api-container {
    width: 80%;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background: #f9f9f9;
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Header Styling */
.control-api-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #b0e0e6, #5f9ea0);
    padding: 25px 35px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 25px;
}

.control-api-header span {
    flex: 1;
    text-align: center;
}

/* Dropdown Styling */
#api-selector {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.4);
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
}

#api-selector:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

#api-selector option {
    background: #ffffff;
    color: #333;
}

/* Forms Styling */
[id^="api-control-form_"] {
    width: 60%;
    display: none;
    background: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.form-group,
.form-group_radio {
    margin-bottom: 20px;
}

.form-group label,
.form-group_radio label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
}

.form-group input,
.form-group_radio input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group_radio input:focus {
    border-color: #4facfe;
    box-shadow: 0 0 8px rgba(79, 172, 254, 0.5);
}

.form-group_radio input {
    width: auto;
    display: inline-block;
    margin-right: 10px;
}

.button-primary {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s;
    font-weight: bold;
    text-transform: uppercase;
   
}

.button-primary:hover {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    transform: scale(1.05);
}
