/* Test Modes Styles */
.test-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.test-mode {
    padding: 10px 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s ease;
}

.test-mode:hover {
    background-color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.test-mode.active {
    background-color: #2a5298;
    color: white;
    border-color: #2a5298;
    box-shadow: 0 2px 5px rgba(42, 82, 152, 0.3);
}

.custom-settings {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.custom-settings label {
    font-size: 14px;
    color: #555;
    margin-right: 5px;
}

.custom-settings input[type="number"] {
    width: 70px;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.custom-settings input[type="range"] {
    width: 150px;
}

#targetSizeValue {
    font-size: 14px;
    color: #555;
    width: 50px;
}

#applyCustomSettings {
    padding: 8px 15px;
    background-color: #2a5298;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-left: auto;
}

#applyCustomSettings:hover {
    background-color: #1e3c72;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .test-modes {
        flex-direction: column;
    }
    
    .custom-settings {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .custom-settings input[type="range"] {
        width: 100%;
    }
    
    #applyCustomSettings {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}
